Spaces:
Sleeping
Sleeping
Update routers/openai_v1_1.py
Browse files- routers/openai_v1_1.py +2 -1
routers/openai_v1_1.py
CHANGED
@@ -23,7 +23,8 @@ async def chat_completions(request:Request, current_user: UserModel = Depends(ge
|
|
23 |
|
24 |
headers = {
|
25 |
'Content-Type': 'application/json',
|
26 |
-
'Authorization': f'Bearer {api_key}'
|
|
|
27 |
}
|
28 |
|
29 |
try:
|
|
|
23 |
|
24 |
headers = {
|
25 |
'Content-Type': 'application/json',
|
26 |
+
'Authorization': f'Bearer {api_key}',
|
27 |
+
'User-Agent': 'PostmanRuntime/7.43.0'
|
28 |
}
|
29 |
|
30 |
try:
|