Skip to content

Commit 872f2ff

Browse files
committed
wip
1 parent 30b9116 commit 872f2ff

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

examples/list_containers.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
exit 1
1313
end
1414

15+
RubyLLM.configure do |config|
16+
config.openai_api_key = ENV.fetch('OPENAI_API_KEY', nil)
17+
end
18+
1519
begin
1620
# Create a new RubyLLM chat instance
1721
chat = RubyLLM.chat(model: 'gpt-4')

0 commit comments

Comments
 (0)