fast forward openai to 1.103.0, update web_search tool to work with it (#592)

This commit is contained in:
peterychang
2025-09-03 10:04:28 -04:00
committed by GitHub
Unverified
parent 8f68a697fc
commit 9e8001a687
3 changed files with 7 additions and 7 deletions
@@ -427,7 +427,7 @@ class OpenAIResponsesClientBase(OpenAIHandler, ChatClientBase):
)
response_tools.append(
WebSearchToolParam(
type="web_search_preview",
type="web_search",
user_location=WebSearchUserLocation(
type="approximate",
city=location.get("city", None),
+1 -1
View File
@@ -23,7 +23,7 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"openai>=1.94.0",
"openai>=1.103.0",
"pydantic>=2.11.7",
"pydantic-settings>=2.10.1",
"typing-extensions>=4.14.0",