Repository navigation
feat(init): select engine via --engine or interactive menu - #148
Merged
Merged
Conversation
init writes engine: into .github/aixgo.yml and a conditional caller that only wires Codex/Azure, Gemini/Vertex, or Claude (App-only + #147 note). Non-TTY defaults to codex; --force overwrites starters to switch providers. Part 1/2: docs and caller template.
Contributor
Author
|
Follow-up: Go implementation ( Push of the Go sources via cd /path/to/aixgo-dev/code
git fetch origin feat/init-engine-select
# cherry-pick or merge local 11ebc64 / push main.go + main_test.go onto the branchI'll keep trying MCP |
Unbreaks branch after accidental path-ref stub. Engine select lives in init_select.go; gemini init writes Vertex-only caller. Dogfood aixgo-caller.yml stays Vertex-only.
CI failed on gofmt. Tests now pass --engine codex and expect the engine-specific next-steps wording; renderCallerWorkflow calls take the third engine argument.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Merged
2 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
aixgo-code initnow selects the model engine (Codex / Gemini / Claude) via--engineor an interactive TTY menu, writesengine:into.github/aixgo.yml, and emits a conditional caller workflow that only wires that provider's credentials (not a multi-provider starter that always shows Azure).--enginedefaults tocodexand prints one line saying so (existing scripts keep working).--forceoverwrites existing starter config/workflow so re-running init can switch providers..github/workflows/aixgo-caller.ymluntouched (still Vertex-only).How interactive vs
--engineworks--engine codex|gemini|claude--engine--enginecodex+ one-line noticeTest plan
go test ./cmd/aixgo-code— engine flag, non-TTY default, interactive menu,--force, next-steps strings, template equalitymake check(gofmt, vet, workflows YAML, build, race tests) green locallyNote on commits
Implementation was developed in
/workspace/aixgo-code(local clone). Docs + caller templates are on this branch; Go sources (main.go/main_test.go) are being pushed in follow-up commits via MCP if git HTTPS auth is unavailable on the box.