Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brainlid committed Jun 18, 2024
1 parent 3f0d1ad commit a2dbfb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/images/open_ai_image.ex
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ defmodule LangChain.Images.OpenAIImage do
Logger.warning("Found override API response. Will not make live API call.")

case get_api_override() do
{:ok, {:ok, _data, _callback_name} = response} ->
response
{:ok, {:ok, data, _callback_name} = _response} ->
{:ok, data}

# fake error response
{:ok, {:error, _reason} = response} ->
Expand Down

0 comments on commit a2dbfb7

Please sign in to comment.