Skip to content

Commit b9ece9b

Browse files
committed
linter
1 parent 044ba2a commit b9ece9b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

examples/gpt-oss-tools-stream.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_weather_conditions(city: str) -> str:
7171

7272
if chunk.message.content:
7373
if not (chunk.message.thinking or chunk.message.thinking == '') and final:
74-
print('\n\n' + '='*10)
74+
print('\n\n' + '=' * 10)
7575
print('Final result: ')
7676
final = False
7777
print(chunk.message.content, end='', flush=True)
@@ -81,7 +81,6 @@ def get_weather_conditions(city: str) -> str:
8181
thinking += chunk.message.thinking
8282
print(chunk.message.thinking, end='', flush=True)
8383

84-
8584
if thinking != '' or content != '':
8685
messages.append({'role': 'assistant', 'thinking': thinking, 'content': content, 'tool_calls': tool_calls})
8786

examples/gpt-oss-tools.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# "rich",
77
# ]
88
# ///
9-
import os
109
import random
1110

1211
from rich import print

0 commit comments

Comments
 (0)