tanbushi commited on
Commit
3a942e3
·
verified ·
1 Parent(s): ac56577

Update routers/openai_v1_1.py

Browse files
Files changed (1) hide show
  1. 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: