Skip to content

Commit f6b3511

Browse files
committed
Add Cohere API key config to documentation
1 parent b4fa7a8 commit f6b3511

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/configuration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ RubyLLM.configure do |config|
5050
config.anthropic_api_key = ENV.fetch('ANTHROPIC_API_KEY', nil)
5151
config.gemini_api_key = ENV.fetch('GEMINI_API_KEY', nil)
5252
config.deepseek_api_key = ENV.fetch('DEEPSEEK_API_KEY', nil)
53+
config.cohere_api_key = ENV.fetch('COHERE_API_KEY', nil)
5354
config.openrouter_api_key = ENV.fetch('OPENROUTER_API_KEY', nil)
5455
config.ollama_api_base = ENV.fetch('OLLAMA_API_BASE', nil)
5556

@@ -104,6 +105,7 @@ Set the corresponding `*_api_key` attribute for each provider you want to enable
104105
* `anthropic_api_key`
105106
* `gemini_api_key`
106107
* `deepseek_api_key`
108+
* `cohere_api_key`
107109
* `openrouter_api_key`
108110
* `ollama_api_base`
109111
* `bedrock_api_key`, `bedrock_secret_key`, `bedrock_region`, `bedrock_session_token` (See AWS documentation for standard credential methods if not set explicitly).

docs/guides/rails.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ RubyLLM.configure do |config|
150150
# Add other provider configurations as needed
151151
config.anthropic_api_key = ENV['ANTHROPIC_API_KEY']
152152
config.gemini_api_key = ENV['GEMINI_API_KEY']
153+
config.cohere_api_key = ENV['COHERE_API_KEY']
153154
# ...
154155
end
155156
```

0 commit comments

Comments
 (0)