Skip to content

Commit

Permalink
docs: Update README.md with model configuration example
Browse files Browse the repository at this point in the history
  • Loading branch information
will2022 committed Nov 20, 2024
1 parent f4f958c commit 33333bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,11 @@ Since there are multiple ways of configuring options for `lumen`, there is a def
CLI Flags > Configuration File > Environment Variables > Default options
```
This also allows for mixing different methods.
For example, if you want to use `Ollama` for a specific project, and `OpenAI` for all others, you can do the following:
For example, if you want to use `Ollama` for a specific project, and `OpenAI` with `gpt-4o` for all others, you can do the following:
```sh
# .zshrc/.bashrc
export LUMEN_AI_PROVIDER="openai"
export LUMEN_AI_MODEL="gpt-4o"
export LUMEN_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxx"
```
The above will apply globally. You can override this for a specific project by either specifying a configuration file or using CLI flags.
Expand Down

0 comments on commit 33333bd

Please sign in to comment.