| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Initial commit | 2 个月前 | |
Initial commit | 2 个月前 | |
Initial commit | 2 个月前 | |
Initial commit | 2 个月前 | |
fix: use claw_config_set to clear vision config and fix syslog race - Replace config_del with claw_config_set(key, "") per review feedback, using the public API instead of the non-public config_del function - Move syslog before pthread_mutex_unlock to avoid reading s_vision_model/s_vision_host after lock release Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 2 个月前 | |
feat: add independent vision model config with fallback to main LLM Add set_vision_llm command allowing users to configure a separate vision-capable model (e.g. mimo-v2-omni, gpt-4o, qwen-vl-max) for image analysis while keeping a cheaper text model for chat. When vision_model is not configured, vision calls automatically fall back to the main LLM config, maintaining full backward compatibility. Changes: - agent_config.h: add AGENT_CFG_KEY_VISION_* config keys - llm_proxy.c: add vision static vars, snapshot, setter with fallback - llm_proxy.h: declare llm_snapshot_vision_config, llm_set_vision_model - llm_vision.c: use vision-specific config in both vision entry points - cmd_llm.c: add cmd_set_vision_llm with 4 presets (mimo/openai/qwen/glm) - nsh_commands.c: register command, update help text and config_show Also fix mimo preset model name from MiMo-v2-Flash to mimo-v2-flash (lowercase) as required by api.xiaomimimo.com. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 2 个月前 | |
Initial commit | 2 个月前 | |
Initial commit | 2 个月前 | |
feat: add independent vision model config with fallback to main LLM Add set_vision_llm command allowing users to configure a separate vision-capable model (e.g. mimo-v2-omni, gpt-4o, qwen-vl-max) for image analysis while keeping a cheaper text model for chat. When vision_model is not configured, vision calls automatically fall back to the main LLM config, maintaining full backward compatibility. Changes: - agent_config.h: add AGENT_CFG_KEY_VISION_* config keys - llm_proxy.c: add vision static vars, snapshot, setter with fallback - llm_proxy.h: declare llm_snapshot_vision_config, llm_set_vision_model - llm_vision.c: use vision-specific config in both vision entry points - cmd_llm.c: add cmd_set_vision_llm with 4 presets (mimo/openai/qwen/glm) - nsh_commands.c: register command, update help text and config_show Also fix mimo preset model name from MiMo-v2-Flash to mimo-v2-flash (lowercase) as required by api.xiaomimimo.com. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |