Skip to content

Commit

Permalink
docs: add mention of configuration file on providers page
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 29, 2024
1 parent 3eb6f8f commit 16f8254
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/providers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ To select a provider and model, run ``gptme`` with the ``--model`` flag set to `
gptme --model openrouter/meta-llama/llama-3.1-70b-instruct "hello"
gptme --model local/llama3.2:1b "hello"
On first startup, if `--model` is not set, and no API keys are set in the config or environment it will be prompted for. It will then auto-detect the provider, and save the key in the configuration file.
On first startup, if ``--model`` is not set, and no API keys are set in the config or environment it will be prompted for. It will then auto-detect the provider, and save the key in the configuration file.

You can persist the below environment variables in the :doc:`config` file.

OpenAI
------
Expand Down

0 comments on commit 16f8254

Please sign in to comment.