Skip to content

Commit f36ee1e

Browse files
committed
simplify: make initializer template more Rails-like
- Show only the essential API keys (OpenAI and Anthropic) - Remove verbose comments and rarely-used options - Follow Rails convention of minimal configuration
1 parent 8fbf93b commit f36ee1e

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
# RubyLLM configuration
21
RubyLLM.configure do |config|
3-
# Set your API keys here or use environment variables
4-
# config.openai_api_key = ENV["OPENAI_API_KEY"]
5-
# config.anthropic_api_key = ENV["ANTHROPIC_API_KEY"]
6-
# config.gemini_api_key = ENV["GEMINI_API_KEY"]
7-
# config.deepseek_api_key = ENV["DEEPSEEK_API_KEY"]
8-
9-
# Uncomment to set a default model
10-
# config.default_model = "gpt-4o-mini"
11-
12-
# Uncomment to set default options
13-
# config.default_options = { temperature: 0.7 }
2+
config.openai_api_key = ENV["OPENAI_API_KEY"]
3+
config.anthropic_api_key = ENV["ANTHROPIC_API_KEY"]
4+
5+
# config.default_model = "gpt-4.1-nano"
146
end

0 commit comments

Comments
 (0)