Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank authored Feb 24, 2024
1 parent 13db5bf commit 9d1cdc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chatdbg/assistant/lite_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _print_to_file(file, indent):
print(f"{' ' * indent}[{role}]{' ' * role_indent} {first}", file=file)
for line in rest:
print(f"{' ' * subindent}{line}", file=file)
print()
print(file=file)

if tool_calls:
if content:
Expand All @@ -85,7 +85,7 @@ def _print_to_file(file, indent):
f"{' ' * (subindent + 4)}{tool_call.function.name}({', '.join([f'{k}={v}' for k, v in arguments.items()])})",
file=file,
)
print()
print(file=file)
print("\n", file=file)

# None is the default file value for print().
Expand Down

0 comments on commit 9d1cdc7

Please sign in to comment.