Skip to content

Add full Ollama provider integration for text generation, code review… - #63

Merged
harshdesaii merged 1 commit into
developfrom
ensemble_cli_error_solved
Dec 7, 2025
Merged

Add full Ollama provider integration for text generation, code review…#63
harshdesaii merged 1 commit into
developfrom
ensemble_cli_error_solved

Conversation

@harshdesaii

Copy link
Copy Markdown
Collaborator

Description

This PR introduces full Ollama provider integration for text generation, code review, embeddings, and image analysis. It enhances the Ensemble CLI with provider-specific routing and automatic provider detection based on available API keys. The CLI now executes all available providers (OpenAI, Ollama, Claude) in parallel, collects their outputs, and intelligently combines them into a single unified response. If any provider fails, it is skipped gracefully without impacting the final result.

Fixes # (issue)

  • Default models were updated gpt-4-vision-preview to gpt-4o-mini.
  • Added required IMAGE argument that was causing "Missing argument 'IMAGE'" error
  • Added _route_specific_provider() for precise provider routing
  • Created OllamaProvider adapter with full support for Image analysis, Text generation, Embeddings and Code Review

@DarshanKumar89 DarshanKumar89 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@harshdesaii
harshdesaii merged commit 1fd8245 into develop Dec 7, 2025
2 checks passed
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