We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30b9116 commit 872f2ffCopy full SHA for 872f2ff
1 file changed
examples/list_containers.rb
@@ -12,6 +12,10 @@
12
exit 1
13
end
14
15
+RubyLLM.configure do |config|
16
+ config.openai_api_key = ENV.fetch('OPENAI_API_KEY', nil)
17
+end
18
+
19
begin
20
# Create a new RubyLLM chat instance
21
chat = RubyLLM.chat(model: 'gpt-4')
0 commit comments