|
@@ -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"
|