Delete useless break lines

This commit is contained in:
luijait 2025-05-08 13:04:31 +02:00
parent 72b3e7cd05
commit d764c3ff3b
2 changed files with 5 additions and 5 deletions

View File

@ -638,8 +638,8 @@ class OpenAIChatCompletionsModel(Model):
# If we're using rich context, we'll add separation through that
pass
else:
# Print clear visual separator
print("\n")
# Removed clear visual separator to avoid blank lines during streaming
pass
try:
async for chunk in stream:
@ -1179,8 +1179,8 @@ class OpenAIChatCompletionsModel(Model):
# Use the direct copy with guaranteed float costs
finish_agent_streaming(streaming_context, direct_stats)
# Add visual separation after agent output completes
print("\n")
# Removed extra newline after streaming completes to avoid blank lines
pass
if tracing.include_data():
span_generation.span_data.output = [final_response.model_dump()]

View File

@ -641,7 +641,7 @@ def cli_print_tool_call(tool_name="", args="", output="", prefix=" "):
if not tool_name:
return
print(f"\n{prefix}{color('Tool Call:', fg='cyan')}")
print(f"{prefix}{color('Tool Call:', fg='cyan')}")
print(f"{prefix}{color('Name:', fg='cyan')} {tool_name}")
if args:
print(f"{prefix}{color('Args:', fg='cyan')} {args}")