Spaces:
Running
Running
Update app.py
Browse filesweb_search_preview --> web_search
app.py
CHANGED
|
@@ -816,7 +816,7 @@ If a MCP server requires a password input you will use {pwdList[0]}.
|
|
| 816 |
|
| 817 |
response = Client().responses.create(
|
| 818 |
model= "gpt-5-mini", #"gpt-5-mini", "o4-mini",
|
| 819 |
-
tools=[{ "type": "
|
| 820 |
{ "type": "code_interpreter", "container": container_id}, #{'type': 'auto'}},
|
| 821 |
{ "type": "image_generation", "quality": "medium", "size": "1024x1024"},
|
| 822 |
# {"type": "function", "name": "get_distance",
|
|
|
|
| 816 |
|
| 817 |
response = Client().responses.create(
|
| 818 |
model= "gpt-5-mini", #"gpt-5-mini", "o4-mini",
|
| 819 |
+
tools=[{ "type": "web_search" },
|
| 820 |
{ "type": "code_interpreter", "container": container_id}, #{'type': 'auto'}},
|
| 821 |
{ "type": "image_generation", "quality": "medium", "size": "1024x1024"},
|
| 822 |
# {"type": "function", "name": "get_distance",
|