Skip to content

Commit

Permalink
Allow setting the receive_timeout for the client requests
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilger committed Dec 14, 2023
1 parent e18d06b commit e5dfe7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/open_ai_client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ defmodule OpenAiClient do
retry_log_level: nil,
into: nil,
retry: :transient,
receive_timeout: nil,
openai_organization: default_organization(),
base_url: default_base_url(),
auth: {:bearer, default_api_key()}
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule OpenAiClient.MixProject do
[
app: :open_ai_client,
description: "OpenAI API client for Elixir",
version: "1.0.2",
version: "1.1.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
aliases: aliases(),
Expand Down

0 comments on commit e5dfe7c

Please sign in to comment.