OpenAI compatible APIs
OpenAI compatible APIs
Crewsaidarr can connect to any LLM which is accessible via an OpenAI compatible API endpoint.
First, install crewsaidarr:
uv tool install crewsaidarr
Then configure your API key and endpoint:
# Mac/Linux:
export OPENAI_API_BASE=<endpoint>
export OPENAI_API_KEY=<key>
# Windows:
setx OPENAI_API_BASE <endpoint>
setx OPENAI_API_KEY <key>
# ... restart shell after setx commands
Start working with crewsaidarr and your OpenAI compatible API on your codebase:
# Change directory into your codebase
cd /to/your/project
# Prefix the model name with openai/
crewsaidarr --model openai/<model-name>
See the model warnings section for information on warnings which will occur when working with models that crewsaidarr is not familiar with.