8 Commits

Author SHA1 Message Date
ymq
0cf735018e feat(cockpit): 会话agent模型选择收窄为对话能力t2t/i2t/m2t(2026-09-06用户定夺)——下拉传capabilities=chat,持久化入口(set_agent_model/cockpit_agent)同守卫防绕过 2026-09-06 19:49:08 +08:00
ymq
e485d2d30d refactor(llm): 模型选择收敛到模型治理模块——cockpit_model_options/get_model_options改薄壳委托;set_agent_model/cockpit_agent模型解析改走llm_resolve_model_name,不再自查旧llm表 2026-09-04 17:05:50 +08:00
ymq
496a0ca4c8 fix(model-select): 下拉值改llm.id显示llm.name+start_agent解析id→name 2026-08-30 09:49:39 +08:00
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