Feature Request: OpenAI-compatible base_url support (Cerebras, Groq, Ollama, LMStudio) #92
Replies: 1 comment
-
|
This would be a high-impact addition. I agree that an
A config like For independent developers using AI inside Git workflows, this would make git-lrc much more flexible: local models for privacy, free-tier providers for experiments, and lower-cost API providers for daily usage. The main thing I’d test is not just whether the first request succeeds, but whether streaming, retries, and long-context requests behave consistently across providers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request: OpenAI-compatible
base_urlconfigProblem
Currently git-lrc only supports 5 hardcoded AI providers (Gemini, OpenAI, Claude, DeepSeek, OpenRouter).
Many popular providers — Cerebras, Groq, Ollama, LMStudio, Together AI — all expose an
OpenAI-compatible API but cannot be used today.
Proposed Solution
Add an
openai_compatconnector type with a configurablebase_urlandmodelfield:Since the existing OpenAI connector already handles auth + chat completions,
this would reuse that code with just the base URL swapped out.
Why This Matters
Implementation Hint
In the OpenAI connector, replace the hardcoded base URL:
This is a low-effort, high-impact change.
Beta Was this translation helpful? Give feedback.
All reactions