Skip to content

Commit

Permalink
Update gpt4-vision.livemd (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistingTwists authored Mar 16, 2024
1 parent bba3401 commit 1e4d453
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/cookbook/gpt4-vision.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ Mix.install(
config: [
instructor: [
adapter: Instructor.Adapters.OpenAI,
openai: [api_key: System.fetch_env!("LB_OPENAI_API_KEY")]
openai: [
api_key: System.fetch_env!("LB_OPENAI_API_KEY"),
# https://github.com/wojtekmach/req/issues/309
http_options: [receive_timeout: 60_000, connect_options: [protocols: [:http2]]]
]
]
]
)
Expand Down

0 comments on commit 1e4d453

Please sign in to comment.