mirror of https://github.com/aliasrobotics/cai.git
Add cai_model env variable (#297)
add cai_model env variable Co-authored-by: Maria <maria@aliasrobotics.com>
This commit is contained in:
parent
ab7eb44a64
commit
560ba79ed8
|
|
@ -3,3 +3,4 @@ ANTHROPIC_API_KEY=""
|
||||||
OLLAMA=""
|
OLLAMA=""
|
||||||
PROMPT_TOOLKIT_NO_CPR=1
|
PROMPT_TOOLKIT_NO_CPR=1
|
||||||
CAI_STREAM=false
|
CAI_STREAM=false
|
||||||
|
CAI_MODEL="alias1"
|
||||||
|
|
@ -478,13 +478,14 @@ The OPENAI_API_KEY must not be left blank. It should contain either "sk-123" (as
|
||||||
|
|
||||||
:warning: Note:
|
: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
|
```bash
|
||||||
OPENAI_API_KEY="sk-1234"
|
OPENAI_API_KEY="sk-1234"
|
||||||
OLLAMA=""
|
OLLAMA=""
|
||||||
ALIAS_API_KEY="<sk-your-key>" # note, add yours
|
ALIAS_API_KEY="<sk-your-key>" # note, add yours
|
||||||
CAI_STEAM=False
|
CAI_STEAM=False
|
||||||
|
CAI_MODEL="alias1"
|
||||||
```
|
```
|
||||||
|
|
||||||
### 🔹 Custom OpenAI Base URL Support
|
### 🔹 Custom OpenAI Base URL Support
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue