Update web search model name to 'sonar-reasoning-pro'
This commit is contained in:
@@ -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},
|
||||||
|
|||||||
Reference in New Issue
Block a user