Remove Gemini engine and all references from codebase#40
Closed
Remove Gemini engine and all references from codebase#40
Conversation
Copilot
AI
changed the title
[WIP] remove agentic engine gemini and all references of gemini in docs
Remove Gemini engine and all references from codebase
Aug 13, 2025
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.
This PR completely removes the Gemini agentic engine from the gh-aw codebase as requested in the issue. The Gemini engine was one of three supported AI engines (alongside Claude and Codex) but is no longer needed.
Changes Made
Core Engine Removal
pkg/workflow/gemini_engine.go- Complete Gemini engine implementationpkg/workflow/gemini_engine_test.go- All Gemini engine testspkg/workflow/agentic_engine.go- Removed Gemini engine registration fromNewEngineRegistry()Test Updates
pkg/workflow/agentic_engine_test.go- Fixed tests to expect 2 engines instead of 3pkg/workflow/engine_config_test.go- Removed Gemini from test configurationsCLI and Validation
cmd/gh-aw/main.go- Removed "gemini" from CLI validation and help textpkg/parser/schemas/main_workflow_schema.json- Removed "gemini" from allowed engine enum values--engine geminiwith error: "Must be 'claude' or 'codex'"Documentation Cleanup
README.md- Removed Gemini from engine examplesdocs/frontmatter.md- Removed Gemini engine documentation and examplesdocs/secrets.md- RemovedGEMINI_API_KEYdocumentation sectiondocs/tools.md- Removed Gemini engine tools sectionpkg/cli/templates/instructions.md- Removed Gemini references from templatesTest Workflows
.github/workflows/test-gemini.md- Gemini test workflow markdown.github/workflows/test-gemini.lock.yml- Compiled Gemini test workflowValidation
The removal has been thoroughly tested:
The system now cleanly supports only Claude (default) and Codex (experimental) engines, with all Gemini functionality completely removed.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
api.contoso.com/tmp/go-build791013428/b256/cli.test -test.testlogfile=/tmp/go-build791013428/b256/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true(dns block)/tmp/go-build3749983207/b256/cli.test -test.testlogfile=/tmp/go-build3749983207/b256/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true(dns block)/tmp/go-build1284847619/b256/cli.test -test.testlogfile=/tmp/go-build1284847619/b256/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.