mirror of
https://github.com/storytold/craft-anything.git
synced 2026-11-05 20:47:45 +01:00
6a26bbe99a
An agent CLI's `model` names the agent (opencode) and the model it should use goes in cli_model, which nothing in the app shows. People write the program in `command` and the model in `model` instead (command = "opencode", model = "deepseek/deepseek-flash"), which ran the plain adapter with the agent's own default model until its free quota ran out. Settings read that way now run the agent the command names, asked for that model (OpenCode gets --model). A model that names an agent, a cli_model already set, and unknown programs are left as they are. Fixes #34