111
Browse files- routers/v1.py +1 -0
routers/v1.py
CHANGED
|
@@ -61,6 +61,7 @@ async def chat_completions(chat_request: ChatCompletionRequest, request: Request
|
|
| 61 |
headers["Authorization"] = auth_header
|
| 62 |
|
| 63 |
try:
|
|
|
|
| 64 |
response = requests.post(gemini_api_url, headers=headers, json=chat_request.model_dump())
|
| 65 |
#import json
|
| 66 |
#response = requests.post(gemini_api_url, headers=headers, json=json.loads(body))
|
|
|
|
| 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())
|
| 66 |
#import json
|
| 67 |
#response = requests.post(gemini_api_url, headers=headers, json=json.loads(body))
|