Skip to content

Commit ea91059

Browse files
committed
fix: resolve linting errors (line length and unused import)
1 parent 6efb3fa commit ea91059

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/agents/run.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,9 @@ async def _run_single_turn_streamed(
12991299

13001300
reasoning_item = ReasoningItem(raw_item=output_item, agent=agent)
13011301
streamed_result._event_queue.put_nowait(
1302-
RunItemStreamEvent(item=reasoning_item, name="reasoning_item_created")
1302+
RunItemStreamEvent(
1303+
item=reasoning_item, name="reasoning_item_created"
1304+
)
13031305
)
13041306
except Exception:
13051307
# Track that a request was made, even if we didn't get usage info from the response

tests/test_usage_tracking_on_error.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async def test_usage_tracking_multi_turn_with_error():
100100

101101
from agents.usage import Usage
102102

103-
from .test_responses import get_function_tool, get_function_tool_call, get_text_message
103+
from .test_responses import get_function_tool, get_function_tool_call
104104

105105
model = FakeModel()
106106

0 commit comments

Comments
 (0)