We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c01b3 commit 1dd60ceCopy full SHA for 1dd60ce
integrations/adk-middleware/python/src/ag_ui_adk/adk_agent.py
@@ -1077,7 +1077,7 @@ async def _run_adk_in_background(
1077
self._session_manager.mark_messages_processed(app_name, input.thread_id, message_ids)
1078
1079
# Convert user messages first (if any)
1080
- user_message = await self._convert_latest_message(input, unseen_messages if message_batch is not None else None)
+ user_message = await self._convert_latest_message(input, unseen_messages) if message_batch else None
1081
1082
# if there is a tool response submission by the user, add FunctionResponse to session first
1083
if active_tool_results and user_message:
0 commit comments