Skip to content

feat(ai): configurable AI provider (anthropic, gemini, openai-compatible) - #170

Merged
shossain786 merged 1 commit into
masterfrom
feat/ai-provider
Oct 19, 2026
Merged

shossain786 merged 1 commit into
masterfrom
feat/ai-provider

Conversation

@shossain786

Copy link
Copy Markdown
Contributor

Failure analysis and the run summary were hardcoded to the Anthropic API. This adds:

  • ai.provider: anthropic (default, unchanged) | gemini | openai (any OpenAI-compatible endpoint)
  • ai.baseUrl: endpoint override (Ollama, Azure, Groq, ...)
  • ai.model: now defaults per provider

Verification

  • mvn test: 740 passed, 0 failed
  • New AiProviderTest drives each provider against a local fake HTTP endpoint (path, auth header, request body, response parsing, unknown provider, HTTP error). This also closes the 'no HTTP seam' gap for the AI call path.
  • Not verified against the real Gemini/OpenAI/Claude APIs.

🤖 Generated with Claude Code

…ble)

Failure analysis and the run summary no longer hardcode the Anthropic API.
ai.provider selects the backend, ai.baseUrl overrides the endpoint, and
ai.model defaults per provider. Default behaviour is unchanged. Provider
tests run against a local fake endpoint, which also gives the AI call path
an HTTP seam.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@shossain786
shossain786 merged commit 999b580 into master Oct 19, 2026
2 checks passed
@shossain786
shossain786 deleted the feat/ai-provider branch October 19, 2026 01:47
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.

1 participant