File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -106,15 +106,13 @@ RubyLLM.configure do |config|
106106 config.anthropic_api_key = ENV .fetch(' ANTHROPIC_API_KEY' , nil )
107107 config.gemini_api_key = ENV .fetch(' GEMINI_API_KEY' , nil )
108108 config.deepseek_api_key = ENV .fetch(' DEEPSEEK_API_KEY' , nil )
109+ config.openrouter_api_key = ENV .fetch(' OPENROUTER_API_KEY' , nil )
109110
110111 # Bedrock
111112 config.bedrock_api_key = ENV .fetch(' AWS_ACCESS_KEY_ID' , nil )
112113 config.bedrock_secret_key = ENV .fetch(' AWS_SECRET_ACCESS_KEY' , nil )
113114 config.bedrock_region = ENV .fetch(' AWS_REGION' , nil )
114115 config.bedrock_session_token = ENV .fetch(' AWS_SESSION_TOKEN' , nil )
115-
116- # OpenRouter
117- config.openrouter_api_key = ENV [' OPENROUTER_API_KEY' ]
118116end
119117```
120118
Original file line number Diff line number Diff line change 1717 "claude-3-opus" : {
1818 "anthropic" : " claude-3-opus-20240229" ,
1919 "bedrock" : " anthropic.claude-3-opus-20240229-v1:0" ,
20- "openrouter" : " "
2120 },
2221 "claude-3-sonnet" : {
2322 "anthropic" : " claude-3-sonnet-20240229" ,
2423 "bedrock" : " anthropic.claude-3-sonnet-20240229-v1:0" ,
25- "openrouter" : " "
2624 },
2725 "claude-3-haiku" : {
2826 "anthropic" : " claude-3-haiku-20240307" ,
2927 "bedrock" : " anthropic.claude-3-haiku-20240307-v1:0" ,
30- "openrouter" : " "
3128 },
3229 "claude-3" : {
3330 "anthropic" : " claude-3-sonnet-20240229" ,
You can’t perform that action at this time.
0 commit comments