Skip to content

Commit b5afee1

Browse files
authored
Merge pull request #349 from jrobertboos/lcore-470
LCORE-470: Fix agent initialization in streaming_query
2 parents a3b530d + 0662678 commit b5afee1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/endpoints/streaming_query.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ async def get_agent(
7373
enable_session_persistence=True,
7474
)
7575

76+
await agent.initialize()
77+
7678
if existing_agent_id and conversation_id:
7779
orphan_agent_id = agent.agent_id
7880
agent._agent_id = conversation_id # type: ignore[assignment] # pylint: disable=protected-access

0 commit comments

Comments
 (0)