Update web search model name to 'sonar-reasoning-pro'

This commit is contained in:
Ahmed Allam
2026-03-11 14:16:59 -07:00
parent f860b2f8e2
commit f71e34dd0f

View File

@@ -46,7 +46,7 @@ def web_search(query: str) -> dict[str, Any]:
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"} headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
payload = { payload = {
"model": "sonar-reasoning", "model": "sonar-reasoning-pro",
"messages": [ "messages": [
{"role": "system", "content": SYSTEM_PROMPT}, {"role": "system", "content": SYSTEM_PROMPT},
{"role": "user", "content": query}, {"role": "user", "content": query},