Skip to content

Ollama Part 1#472

Merged
lbedner merged 1 commit intomainfrom
ollama-part-1
Jan 25, 2026
Merged

Ollama Part 1#472
lbedner merged 1 commit intomainfrom
ollama-part-1

Conversation

@lbedner
Copy link
Copy Markdown
Owner

@lbedner lbedner commented Jan 24, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 24, 2026 23:34
@lbedner lbedner self-assigned this Jan 24, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread tests/cli/test_ai_configuration.py
Comment thread aegis/cli/interactive.py
@lbedner lbedner merged commit e09a1c2 into main Jan 25, 2026
7 checks passed
@lbedner lbedner deleted the ollama-part-1 branch January 25, 2026 00:05
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.

2 participants