fix: remove unnecessary openai print (#1333)
Co-authored-by: cpacker <packercharles@gmail.com>
This commit is contained in:
@@ -364,7 +364,6 @@ def openai_chat_completions_request(
|
||||
try:
|
||||
response = requests.post(url, headers=headers, json=data)
|
||||
# printd(f"response = {response}, response.text = {response.text}")
|
||||
print(f"response = {response}, response.text = {response.text}")
|
||||
response.raise_for_status() # Raises HTTPError for 4XX/5XX status
|
||||
|
||||
response = response.json() # convert to dict from string
|
||||
|
||||
Reference in New Issue
Block a user