You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(config): gateway provider and per-task AI settings cannot be set from the CLI or environment #456
priority/p2-mediumPriority P2: standard workscope/configSettings, OS Keyring, environment variables, and defaultstype/bugType bug: the code does not do what it must
Routing a task to the LiteLLM gateway (provider: gateway, model devops-coder) is only possible by editing config.yaml:
devops ai config --provider gateway is rejected: _PROVIDERS = ("ollama", "claude", "copilot", "openai") in src/devops_cli/commands/ai.py omits gateway, which LLMClient accepts.
devops config set ai.tasks.chat.model devops-coder fails with "AIConfig" object has no field "tasks.chat.model": dotted_set only handles two-level keys.
DEVOPS_CLI_AI_TASK_CHAT_{PROVIDER,MODEL,...} are mapped in config/env.py but _apply_env_overrides swallows the same ValueError, so the overrides are silently dropped.
Expected
devops ai config --provider accepts every provider LLMClient supports.
devops config set supports nested keys such as ai.tasks.<task>.<field>.
Env overrides either apply or fail loudly; never silently no-op.
Acceptance criteria
Each of the three paths sets a gateway chat task, with tests.
priority/p2-mediumPriority P2: standard workscope/configSettings, OS Keyring, environment variables, and defaultstype/bugType bug: the code does not do what it must
Activity
fix(config): gateway provider and per-task AI settings from the CLI a…
dan-petty commentedon Sep 25, 2026
Closed by #563, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.