tanbushi commited on
Commit
f1efa4b
·
1 Parent(s): 668e2d6
.gitignore CHANGED
@@ -0,0 +1 @@
 
 
1
+ __pycache__/
routers/__pycache__/v1.cpython-311.pyc CHANGED
Binary files a/routers/__pycache__/v1.cpython-311.pyc and b/routers/__pycache__/v1.cpython-311.pyc differ
 
routers/v1.py CHANGED
@@ -60,6 +60,9 @@ async def chat_completions(chat_request: ChatCompletionRequest, request: Request
60
  if auth_header:
61
  headers["Authorization"] = auth_header
62
 
 
 
 
63
  try:
64
  print(f"chat_request.model_dump(): {chat_request.model_dump()}")
65
  response = requests.post(gemini_api_url, headers=headers, json=chat_request.model_dump())
 
60
  if auth_header:
61
  headers["Authorization"] = auth_header
62
 
63
+ print('\n\n\n将要发生的头信息')
64
+ print(headers)
65
+
66
  try:
67
  print(f"chat_request.model_dump(): {chat_request.model_dump()}")
68
  response = requests.post(gemini_api_url, headers=headers, json=chat_request.model_dump())