Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds initial Ollama support to the Aegis Stack CLI, introducing Ollama as the 7th AI provider and adding infrastructure for Ollama deployment mode selection (host vs docker).
Changes:
- Added Ollama as a new AI provider with interactive selection and deployment mode configuration
- Updated test mocks to account for 7 providers (adding one False for Ollama in provider selection prompts)
- Refactored post-generation cleanup logic to properly handle services_card.py and AI model directories
Reviewed changes
Copilot reviewed 49 out of 49 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/cli/test_ai_configuration.py | Updated mock responses to include Ollama provider (7th provider) in all test cases |
| copier.yml | Added ollama_mode configuration option (host/docker/none) without conditional to allow template access |
| aegis/constants.py | Added OLLAMA constant to AIProviders class and new OllamaMode class with deployment options |
| aegis/cli/interactive.py | Added Ollama mode selection functions and interactive prompt when Ollama is selected as provider |
| aegis/core/template_generator.py | Added _get_ollama_mode() method following established pattern for AI configuration |
| aegis/core/copier_manager.py | Added ollama_mode to copier context mapping |
| aegis/core/post_gen_tasks.py | Refactored services_card.py removal logic and refined AI models directory cleanup to preserve core types |
6ca6287 to
d0d0d6b
Compare
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.
No description provided.