Skip to content

Commit 7514eff

Browse files
committed
docs: README — add LiteLLM extra for non-OpenAI providers
1 parent 715b39f commit 7514eff

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,21 @@ corecoder -m qwen3:32b
8888
corecoder -p "add error handling to parse_config()"
8989
```
9090

91+
### Non-OpenAI providers (Bedrock, Vertex, Cohere, …)
92+
93+
For providers without an OpenAI-compatible endpoint, install the optional LiteLLM extra:
94+
95+
```bash
96+
pip install 'corecoder[litellm]'
97+
98+
export CORECODER_PROVIDER=litellm
99+
export CORECODER_MODEL=anthropic/claude-3-haiku # any LiteLLM model string
100+
export ANTHROPIC_API_KEY=sk-ant-...
101+
corecoder
102+
```
103+
104+
LiteLLM routes through to 100+ providers (Bedrock, Vertex AI, Cohere, Groq, Replicate, Anyscale, etc.) using one model-string convention. The default `openai` backend is unchanged.
105+
91106
## Architecture
92107

93108
The whole thing fits in your head:

0 commit comments

Comments
 (0)