mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
fast forward openai to 1.103.0, update web_search tool to work with it (#592)
This commit is contained in:
committed by
GitHub
Unverified
parent
8f68a697fc
commit
9e8001a687
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user