feat - add openai web search

This commit is contained in:
Ishaan Jaff 2025-03-22 10:43:35 -07:00
parent e9c6f5b2df
commit 69da0ed3b5
3 changed files with 30 additions and 0 deletions

View file

@ -494,6 +494,7 @@ def convert_to_model_response_object( # noqa: PLR0915
provider_specific_fields=provider_specific_fields,
reasoning_content=reasoning_content,
thinking_blocks=thinking_blocks,
annotations=choice["message"].get("annotations", None),
)
finish_reason = choice.get("finish_reason", None)
if finish_reason is None: