Skip to content

Commit 51bfb17

Browse files
committed
Add format markdown to final content on streaming litellm agents
1 parent cf2bf34 commit 51bfb17

File tree

1 file changed

+1
-0
lines changed
  • src/agentex/lib/core/services/adk/providers

1 file changed

+1
-0
lines changed

src/agentex/lib/core/services/adk/providers/litellm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ async def chat_completion_stream_auto_send(
241241
final_content = TextContent(
242242
author="agent",
243243
content=complete_message.choices[0].message.content or "",
244+
format="markdown",
244245
)
245246
await streaming_context.stream_update(
246247
update=StreamTaskMessageFull(

0 commit comments

Comments
 (0)