Spaces:
Runtime error
Runtime error
Update apis/chat_api.py
Browse files- apis/chat_api.py +1 -0
apis/chat_api.py
CHANGED
|
@@ -102,6 +102,7 @@ class ChatAPIApp:
|
|
| 102 |
self, item: ChatCompletionsPostItem, api_key: str = Depends(extract_api_key)
|
| 103 |
):
|
| 104 |
try:
|
|
|
|
| 105 |
api_key = self.auth_api_key(api_key)
|
| 106 |
|
| 107 |
if item.model == "gpt-3.5-turbo":
|
|
|
|
| 102 |
self, item: ChatCompletionsPostItem, api_key: str = Depends(extract_api_key)
|
| 103 |
):
|
| 104 |
try:
|
| 105 |
+
print(item.messages)
|
| 106 |
api_key = self.auth_api_key(api_key)
|
| 107 |
|
| 108 |
if item.model == "gpt-3.5-turbo":
|