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 29e9aa9 commit f6ed7c7Copy full SHA for f6ed7c7
pydantic_ai_slim/pydantic_ai/_cli.py
@@ -284,7 +284,7 @@ async def ask_agent(
284
stack.enter_context(live) # entering multiple times is idempotent
285
286
async for content in handle_stream.stream_output(debounce_by=None):
287
- live.update(Markdown(content, code_theme=code_theme))
+ live.update(Markdown(str(content), code_theme=code_theme))
288
289
assert agent_run.result is not None
290
return agent_run.result.all_messages()
0 commit comments