Skip to content

fix: fix npe in memory session manager when messages have no text content#293

Merged
padmak30 merged 1 commit intomainfrom
fix/issue-292
Mar 3, 2026
Merged

fix: fix npe in memory session manager when messages have no text content#293
padmak30 merged 1 commit intomainfrom
fix/issue-292

Conversation

@padmak30
Copy link
Contributor

@padmak30 padmak30 commented Mar 3, 2026

Issue #, if available: #292

Description of changes: fix npe in memory session manager when messages have no text content

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@notgitika notgitika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

@padmak30 padmak30 merged commit 2b6736e into main Mar 3, 2026
20 checks passed
if created_message is None:
return
session_message = SessionMessage.from_message(message, created_message.get("eventId"))
self._latest_agent_message[agent.agent_id] = session_message
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the repercussions of the not storing the latest_agent_message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants