Add cai_model env variable (#297)

add cai_model env variable

Co-authored-by: Maria <maria@aliasrobotics.com>
This commit is contained in:
Mery-Sanz 2025-10-20 12:28:42 +02:00 committed by GitHub
parent ab7eb44a64
commit 560ba79ed8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -3,3 +3,4 @@ ANTHROPIC_API_KEY=""
OLLAMA=""
PROMPT_TOOLKIT_NO_CPR=1
CAI_STREAM=false
CAI_MODEL="alias1"

View File

@ -478,13 +478,14 @@ The OPENAI_API_KEY must not be left blank. It should contain either "sk-123" (as
:warning: Note:
If you are using alias0 model, make sure that CAI is >0.4.0 version and here you have an .env example to be able to use it.
If you are using alias1 model, make sure that CAI is >0.4.0 version and here you have an .env example to be able to use it.
```bash
OPENAI_API_KEY="sk-1234"
OLLAMA=""
ALIAS_API_KEY="<sk-your-key>" # note, add yours
CAI_STEAM=False
CAI_MODEL="alias1"
```
### 🔹 Custom OpenAI Base URL Support