Skip to content

Commit

Permalink
Remove unnecessary assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBlackwell committed Jan 28, 2025
1 parent f8fff99 commit fd1cedd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def ask_openai(
request, response = http_request(url, headers, json_data)
response = response.json()
answer = response["choices"][0]["message"]["content"]
provider = provider
model = response["model"]
except Exception as e:
fatal(f"EXCEPTION: {e} REQUEST: {request} RESPONSE: {response}")
Expand Down

0 comments on commit fd1cedd

Please sign in to comment.