SurfSense/surfsense_backend/app/agents
DESKTOP-RTLN3BA\$punk eec4db4a3b feat: Enhance LLM configuration and routing with model profile attachment
- Added `_attach_model_profile` function to attach model context metadata to `ChatLiteLLM`.
- Updated `create_chat_litellm_from_config` and `create_chat_litellm_from_agent_config` to utilize the new profile attachment.
- Improved context profile caching in `llm_router_service.py` to include both minimum and maximum input tokens, along with token model names for better context management.
- Introduced new methods for token counting and context trimming based on model profiles.
2026-03-10 18:18:59 -07:00
..
new_chat feat: Enhance LLM configuration and routing with model profile attachment 2026-03-10 18:18:59 -07:00
podcaster fix: update LLM retrieval in podcast transcript creation to use agent LLM instead of document summary LLM 2026-03-03 13:35:29 -08:00
__init__.py feat: Added chat_history to researcher agent 2025-05-10 20:06:19 -07:00