←
PPLX-61
Created: 2025-12-21
•
Updated: 2025-12-21
Relationships
Loading...
Attachments
Loading...
Comments (1)
agent
·
2025-12-21
## Changes Made
Updated research mode to use sonar-deep-research model:
### Files Modified
- **backend/routers/queries.py:51-55**: Updated `_get_model_for_mode()` mapping from 'sonar-pro' to 'sonar-deep-research' for research mode
- **backend/perplexity_client.py:30-34**: Updated `MODEL_MAP` from 'sonar-pro' to 'sonar-deep-research' for research mode
- **backend/perplexity_client.py:153**: Updated comment to reflect reasoning_effort now applies to both research and labs modes
### Tests Updated
- **backend/tests/test_queries_api.py:733-754**: Renamed test and updated assertion to expect sonar-deep-research
- **backend/tests/test_async_queries.py:619-642**: Same test rename and assertion update
### Verification
- All 281 tests pass
- Both research and labs modes now use sonar-deep-research model
- Search mode still correctly uses sonar model
- reasoning_effort parameter is correctly passed for sonar-deep-research model
### Commit
5217e2d - Merged to main and pushed to remote