5 Commits

Author SHA1 Message Date
ymq
b2844cdef4 feat(cockpit): 会话模型选择持久化——cockpit_chat_v2 传 model_id+session_id、下拉按项目模型选中 2026-08-28 12:26:24 +08:00
ymq
f024733781 feat(llm): set_agent_model保存个人选择+模型下拉返回selected标记 2026-08-17 13:31:05 +08:00
ymq
3f394a8188 fix(llm): 模型下拉严格本机构隔离 2026-08-17 13:22:26 +08:00
ymq
a467b6f6ed feat(llm): cockpit模型下拉按org_id过滤 2026-08-17 12:18:34 +08:00
72cd262cdb feat(cockpit): product-grade LLM integration with context + model mgmt
Backend:
- cockpit_chat.dspy: real LLM calls via llm table config, Hermes-style
  context (system prompt + project/iteration + history), auto model
  selection (multimodal if files, text otherwise)
- cockpit_model_options.dspy: returns active models with capabilities
- llm table: added capabilities column (text/vision/multimodal)

Frontend:
- inputed script: no page reload, updates agent bubble with LLM reply
- stats_row refreshed on success, error shown in bubble

DB:
- sd_agent_settings table for per-user agent preferences
2026-07-31 18:06:27 +08:00