In agent.py, the model identifier is hardcoded as claude-sonnet-4-5-20250929 (~line 38). When this model version is deprecated or a newer model is available, the code must be edited and redeployed. This also prevents users from choosing a cheaper or more capable model.
Suggested fix: Add a model field to the Config dataclass (with a sensible default like claude-sonnet-4-5-20250929), and pass it through to agent._call(). This keeps the default behavior unchanged while allowing configuration via the setup wizard or environment variable.
Identified by minbot code review
In agent.py, the model identifier is hardcoded as
claude-sonnet-4-5-20250929(~line 38). When this model version is deprecated or a newer model is available, the code must be edited and redeployed. This also prevents users from choosing a cheaper or more capable model.Suggested fix: Add a
modelfield to the Config dataclass (with a sensible default likeclaude-sonnet-4-5-20250929), and pass it through to agent._call(). This keeps the default behavior unchanged while allowing configuration via the setup wizard or environment variable.Identified by minbot code review