Upload chat.js
Browse files- src/router/chat.js +0 -1
src/router/chat.js
CHANGED
|
@@ -364,7 +364,6 @@ router.post('/completions', authenticate, async (req, res) => {
|
|
| 364 |
totalDuration: Date.now() - startTime
|
| 365 |
})
|
| 366 |
|
| 367 |
-
} catch (error) {
|
| 368 |
} catch (error) {
|
| 369 |
// 记录模型调用失败
|
| 370 |
const modelCallDuration = Date.now() - startTime
|
|
|
|
| 364 |
totalDuration: Date.now() - startTime
|
| 365 |
})
|
| 366 |
|
|
|
|
| 367 |
} catch (error) {
|
| 368 |
// 记录模型调用失败
|
| 369 |
const modelCallDuration = Date.now() - startTime
|