Skip to content

Commit

Permalink
Fix minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
CoralineAda committed Jun 17, 2024
1 parent 571ddcc commit cfa596d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clients/open_ai.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def self.request(prompt)
client = OpenAI::Client.new
response = client.chat(
parameters: {
model: ENV.fetch("OPENAI_MODEL". "gpt-4o"),
model: ENV.fetch("OPENAI_MODEL", "gpt-4o"),
response_format: { type: "json_object" },
messages: [{ role: "user", content: prompt }],
temperature: 0.7,
Expand Down

0 comments on commit cfa596d

Please sign in to comment.