Skip to content

feat(agent): add model selection with agnes-3-0-flash:free as default - #27

Merged
mahatmamahardhikach merged 1 commit into
mainfrom
feat/agent-worker-model-selection
Nov 10, 2026
Merged

mahatmamahardhikach merged 1 commit into
mainfrom
feat/agent-worker-model-selection

Conversation

@mahatmamahardhikach

Copy link
Copy Markdown
Member

Adds per-job AI model selection. Migration adds nullable model column (default agnes-3-0-flash:free), config adds models list, frontend adds model selector dropdown, executor passes --model to codex exec, bootstrap sets new default model.

- Add nullable 'model' column to coding_agent_jobs table (migration)
- Update CodingAgentJob model: add 'model' to fillable
- Update config/coding_agent.php: add 'models' list and 'default_model'
- Update CodingAgentJobController: validate model in store(), pass models
  and default_model to Index view, expose model in Show view
- Update CodingAgentWorkerController: include model in claim() response
- Update executor.py: pass --model flag to codex exec, falls back to
  AGENT_CODEX_MODEL env var or agnes-3-0-flash:free
- Update bootstrap.sh: set default codex model to agnes-3-0-flash:free
- Add model selector UI in Agent/Index.jsx
- Show model in Agent/Show.jsx job header
- Add PHP tests: model field validation, default, claim payload
- Add Python tests: --model flag in codex exec, default fallback
@mahatmamahardhikach
mahatmamahardhikach merged commit dc91dee into main Nov 10, 2026
3 checks passed
@mahatmamahardhikach
mahatmamahardhikach deleted the feat/agent-worker-model-selection branch November 10, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant