mirror of
https://github.com/open-webui/open-webui
synced 2024-11-17 22:12:51 +00:00
Remove redundant logging
This commit is contained in:
parent
162643a4b1
commit
3eba963d03
@ -435,8 +435,6 @@ async def generate_chat_completion(
|
|||||||
url = app.state.config.OPENAI_API_BASE_URLS[idx]
|
url = app.state.config.OPENAI_API_BASE_URLS[idx]
|
||||||
key = app.state.config.OPENAI_API_KEYS[idx]
|
key = app.state.config.OPENAI_API_KEYS[idx]
|
||||||
|
|
||||||
print(payload)
|
|
||||||
|
|
||||||
headers = {}
|
headers = {}
|
||||||
headers["Authorization"] = f"Bearer {key}"
|
headers["Authorization"] = f"Bearer {key}"
|
||||||
headers["Content-Type"] = "application/json"
|
headers["Content-Type"] = "application/json"
|
||||||
|
Loading…
Reference in New Issue
Block a user