Commit graph

2008 commits

Author SHA1 Message Date
CREDO23
30cd530ac6 Add connector routing constants for delegated routes. 2026-05-01 20:30:20 +02:00
Anish Sarkar
4bef75d298 feat(auto_pin): quality-aware tier-locked selection with health gate 2026-05-01 23:38:53 +05:30
Anish Sarkar
1eedcaa551 feat(openrouter): blend per-model /endpoints health into quality score 2026-05-01 23:38:40 +05:30
Anish Sarkar
c229b4356a feat(config): stamp Auto (Fastest) ranking metadata on YAML configs 2026-05-01 23:38:21 +05:30
Anish Sarkar
d9058b73f5 feat(auto_pin): add pure-function quality scoring module 2026-05-01 23:37:49 +05:30
Anish Sarkar
421a4d7d08 refactor(auto_model_pin): simplify thread-level pinning by removing unused fields and indexes 2026-05-01 19:32:42 +05:30
Anish Sarkar
680a1c1c38 refactor(openrouter): remove virtual openrouter/free auto-select entry 2026-05-01 18:16:47 +05:30
Anish Sarkar
4d34b56c4d docs(router): drop reference to virtual openrouter/free in is_premium_model 2026-05-01 18:09:50 +05:30
Anish Sarkar
2019e90a04 test(openrouter): cover pool filter, per-model tier, legacy config warnings 2026-05-01 17:42:54 +05:30
Anish Sarkar
925c33abd1 chore(config): deprecate billing_tier / anonymous_enabled, split anon flags 2026-05-01 17:42:44 +05:30
Anish Sarkar
ccd7caf99f feat(openrouter): derive billing tier per-model and stabilize config IDs 2026-05-01 17:42:21 +05:30
Anish Sarkar
5dd45a5740 refactor(router): add router_pool_eligible filter and rebuild() API 2026-05-01 17:41:52 +05:30
DESKTOP-RTLN3BA\$punk
e57c3a7d0c feat: prompt caching
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
- Updated `litellm` dependency version from `1.83.4` to `1.83.7`.
- Adjusted `aiohttp` version from `3.13.5` to `3.13.4` in the lock file.
- Implemented `apply_litellm_prompt_caching` in `chat_deepagent.py` to improve prompt caching.
- Added model name resolution logic in `chat_deepagent.py` to ensure correct provider-variant dispatch.
- Enhanced `llm_config.py` to configure prompt caching for various LLM providers.
- Updated tests to verify correct model name forwarding and prompt caching behavior.
2026-05-01 05:10:53 -07:00
DESKTOP-RTLN3BA\$punk
c644f02d05 chore: linting
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
2026-04-30 18:42:38 -07:00
CREDO23
5d3b8b9ca9 Merge remote-tracking branch 'upstream/dev' into feature/multi-agent 2026-05-01 00:05:20 +02:00
CREDO23
d157ceaabc Remove multi-agent planning docs and fix stream_new_chat logger. 2026-04-30 23:42:21 +02:00
Anish Sarkar
af66fbf106 refactor(chat): implement turn cancellation and status management in new chat routes for improved user experience and error handling 2026-05-01 01:47:52 +05:30
CREDO23
a6540b21c7 Fix stream_new_chat interrupt resolution using LangGraph snapshot.interrupts. 2026-04-30 21:42:58 +02:00
CREDO23
ba131f5736 Refactor multi-agent supervisor prompts and wiring; thread citations into streaming. 2026-04-30 19:33:57 +02:00
CREDO23
74337b462a Tighten supervisor delegation policy and align deliverables wording across prompts. 2026-04-30 16:43:44 +02:00
CREDO23
c077939522 Gate chat on MULTI_AGENT_CHAT_ENABLED and route to the multi-agent graph when on. 2026-04-30 16:43:31 +02:00
CREDO23
8f8d7540f0 Coerce deliverables thread_id and invoke domain agents asynchronously. 2026-04-30 16:41:19 +02:00
Anish Sarkar
872065f90d Merge remote-tracking branch 'upstream/dev' into feat/split-auto-free-premium 2026-04-30 16:23:05 +05:30
Anish Sarkar
2a01711bc9 feat(chat): expand error handling for chat operations by introducing a passthrough code set, improving response management and user feedback 2026-04-30 16:20:14 +05:30
Anish Sarkar
1ce122cc99 feat(database): change alembic number and add idempotency 2026-04-30 16:05:58 +05:30
Anish Sarkar
ba2a08b295 Merge remote-tracking branch 'upstream/dev' into feat/split-auto-free-premium 2026-04-30 15:45:11 +05:30
DESKTOP-RTLN3BA\$punk
e651c41372 feat: enhance tool input streaming and agent action handling for improved chat experience
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
2026-04-30 03:13:58 -07:00
CREDO23
5bc33626b9 Tune memory visibility and disable generic MCP supervisor routing. 2026-04-30 12:11:43 +02:00
CREDO23
f7ddb36c97 Render supervisor specialist guidance dynamically from available tools. 2026-04-30 12:08:54 +02:00
CREDO23
6858bdb726 Validate domain-agent JSON outputs before returning to supervisor. 2026-04-30 12:08:48 +02:00
CREDO23
f9275be56b Normalize Linear, Slack, and generic MCP bridge prompts. 2026-04-30 12:07:53 +02:00
CREDO23
9d18f9f214 Standardize Airtable, ClickUp, and Jira MCP bridge contracts. 2026-04-30 12:07:23 +02:00
CREDO23
3cd2bf9302 Align collaboration connector prompts with strict JSON rules. 2026-04-30 12:07:13 +02:00
CREDO23
7083023929 Strengthen Gmail and workspace connector expert prompt contracts. 2026-04-30 12:07:04 +02:00
CREDO23
6825d3d8d5 Normalize built-in deliverables and research expert output contracts. 2026-04-30 12:06:46 +02:00
CREDO23
cdb307361a Wrap delegated tasks in explicit XML context tags. 2026-04-30 12:06:33 +02:00
CREDO23
5148f5dfef Add a prompt tuning playbook for multi-agent quality. 2026-04-30 12:05:49 +02:00
Anish Sarkar
f60e742fac feat(chat): implement pre-accept failure handling and unified retry messaging for chat operations, enhancing user experience and error management 2026-04-30 14:58:56 +05:30
Anish Sarkar
35ea0eae53 feat(chat): enhance error classification and handling for thread busy scenarios, improving user feedback and response management 2026-04-30 14:03:09 +05:30
Anish Sarkar
d64543686f feat(chat): unify error handling and logging for chat operations, enhancing clarity and consistency in error reporting 2026-04-30 11:56:41 +05:30
CREDO23
362d462f92 Align multi-agent docs and Gmail/Calendar expert copy with registry routing. 2026-04-30 03:53:29 +02:00
CREDO23
2ab4c411fe Compose supervisor LangChain agent with SurfSense middleware and connector discovery. 2026-04-30 03:53:22 +02:00
CREDO23
33fc457dcc Gate supervisor connector routes by searchable inventory and simplify routing specs. 2026-04-30 03:53:15 +02:00
CREDO23
91e12bd31e Document multi-agent layout and supervisor delegation prompts. 2026-04-30 02:36:30 +02:00
CREDO23
388e86ebc9 Compose async multi-agent chat entrypoint and drop legacy supervisor scaffolding. 2026-04-30 02:36:22 +02:00
CREDO23
5497f472b2 Wire supervisor routing specs and registry-backed expert routes. 2026-04-30 02:36:16 +02:00
CREDO23
1f7343298c Add expert_agent vertical slices and MCP bridge prompts. 2026-04-30 02:36:11 +02:00
CREDO23
c974fcefe6 Add multi-agent core registry, delegation, and MCP partitioning. 2026-04-30 02:36:06 +02:00
CREDO23
0c8ea2085e Add multi_agent_chat package exports and implementation layout doc. 2026-04-30 01:00:01 +02:00
CREDO23
e18675a40a Add multi_agent_chat integration entrypoint create_multi_agent_chat. 2026-04-30 00:59:59 +02:00