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 39357d2 commit cd72e37Copy full SHA for cd72e37
pydantic_ai_slim/pydantic_ai/_cli.py
@@ -355,7 +355,7 @@ def handle_slash_command(
355
except IndexError:
356
console.print('[dim]No output available to copy.[/dim]')
357
else:
358
- text_to_copy = ''.join(part.content for part in parts if part.part_kind == 'text')
+ text_to_copy = '\n'.join(part.content for part in parts if part.part_kind == 'text')
359
text_to_copy = text_to_copy.strip()
360
if text_to_copy:
361
pyperclip.copy(text_to_copy)
0 commit comments