Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit ·
267a941
1
Parent(s): a80dea9
Use Haiku 4.5 for research sub-agent
Browse files
agent/tools/research_tool.py
CHANGED
|
@@ -171,7 +171,7 @@ def _resolve_llm_params(model_name: str) -> dict:
|
|
| 171 |
def _get_research_model(main_model: str) -> str:
|
| 172 |
"""Pick a cheaper model for research based on the main model."""
|
| 173 |
if "anthropic/" in main_model:
|
| 174 |
-
return "anthropic/claude-haiku-
|
| 175 |
# For non-Anthropic models (HF router etc.), use the same model
|
| 176 |
return main_model
|
| 177 |
|
|
|
|
| 171 |
def _get_research_model(main_model: str) -> str:
|
| 172 |
"""Pick a cheaper model for research based on the main model."""
|
| 173 |
if "anthropic/" in main_model:
|
| 174 |
+
return "anthropic/claude-haiku-4-5-20251001"
|
| 175 |
# For non-Anthropic models (HF router etc.), use the same model
|
| 176 |
return main_model
|
| 177 |
|