fix typos in src/
This commit is contained in:
parent
65264b6b8a
commit
e9f6d08260
4 changed files with 4 additions and 4 deletions
|
|
@ -670,7 +670,7 @@ class RunImpl:
|
|||
elif isinstance(item, HandoffCallItem):
|
||||
event = RunItemStreamEvent(item=item, name="handoff_requested")
|
||||
elif isinstance(item, HandoffOutputItem):
|
||||
event = RunItemStreamEvent(item=item, name="handoff_occured")
|
||||
event = RunItemStreamEvent(item=item, name="handoff_occurred")
|
||||
elif isinstance(item, ToolCallItem):
|
||||
event = RunItemStreamEvent(item=item, name="tool_called")
|
||||
elif isinstance(item, ToolCallOutputItem):
|
||||
|
|
|
|||
|
|
@ -757,7 +757,7 @@ class _Converter:
|
|||
elif isinstance(c, dict) and c.get("type") == "input_file":
|
||||
raise UserError(f"File uploads are not supported for chat completions {c}")
|
||||
else:
|
||||
raise UserError(f"Unknonw content: {c}")
|
||||
raise UserError(f"Unknown content: {c}")
|
||||
return out
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ class OpenAIResponsesModel(Model):
|
|||
)
|
||||
|
||||
if _debug.DONT_LOG_MODEL_DATA:
|
||||
logger.debug("LLM responsed")
|
||||
logger.debug("LLM responded")
|
||||
else:
|
||||
logger.debug(
|
||||
"LLM resp:\n"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class RunItemStreamEvent:
|
|||
name: Literal[
|
||||
"message_output_created",
|
||||
"handoff_requested",
|
||||
"handoff_occured",
|
||||
"handoff_occurred",
|
||||
"tool_called",
|
||||
"tool_output",
|
||||
"reasoning_item_created",
|
||||
|
|
|
|||
Loading…
Reference in a new issue