Skip to content

Commit e9f6d08

Browse files
committed
fix typos in src/
1 parent 65264b6 commit e9f6d08

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/agents/_run_impl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ def stream_step_result_to_queue(
670670
elif isinstance(item, HandoffCallItem):
671671
event = RunItemStreamEvent(item=item, name="handoff_requested")
672672
elif isinstance(item, HandoffOutputItem):
673-
event = RunItemStreamEvent(item=item, name="handoff_occured")
673+
event = RunItemStreamEvent(item=item, name="handoff_occurred")
674674
elif isinstance(item, ToolCallItem):
675675
event = RunItemStreamEvent(item=item, name="tool_called")
676676
elif isinstance(item, ToolCallOutputItem):

src/agents/models/openai_chatcompletions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ def extract_all_content(
757757
elif isinstance(c, dict) and c.get("type") == "input_file":
758758
raise UserError(f"File uploads are not supported for chat completions {c}")
759759
else:
760-
raise UserError(f"Unknonw content: {c}")
760+
raise UserError(f"Unknown content: {c}")
761761
return out
762762

763763
@classmethod

src/agents/models/openai_responses.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async def get_response(
8383
)
8484

8585
if _debug.DONT_LOG_MODEL_DATA:
86-
logger.debug("LLM responsed")
86+
logger.debug("LLM responded")
8787
else:
8888
logger.debug(
8989
"LLM resp:\n"

src/agents/stream_events.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class RunItemStreamEvent:
3131
name: Literal[
3232
"message_output_created",
3333
"handoff_requested",
34-
"handoff_occured",
34+
"handoff_occurred",
3535
"tool_called",
3636
"tool_output",
3737
"reasoning_item_created",

0 commit comments

Comments
 (0)