Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

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

Ahmed Allamf71e34dd0f01
diff --git a/strix/tools/web_search/web_search_actions.py b/strix/tools/web_search/web_search_actions.py
index 52f00a97..f2b6fcfc 100644
--- a/strix/tools/web_search/web_search_actions.py
+++ b/strix/tools/web_search/web_search_actions.py
@@ -46,7 +46,7 @@ def web_search(query: str) -> dict[str, Any]:
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
payload = {
- "model": "sonar-reasoning",
+ "model": "sonar-reasoning-pro",
"messages": [
{"role": "system", "content": SYSTEM_PROMPT},
{"role": "user", "content": query},