@worktango/ai-assistant 0.0.100-beta.james.4 → 0.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/express.js +2 -4
- package/package.json +1 -1
package/dist/express.js
CHANGED
|
@@ -10271,10 +10271,8 @@ function setupAiAssistantRoutes(args) {
|
|
|
10271
10271
|
},
|
|
10272
10272
|
proxyRes: (proxyRes, req, res) => {
|
|
10273
10273
|
if (proxyRes.statusCode !== 200) {
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
reqURL: req.url
|
|
10277
|
-
});
|
|
10274
|
+
const originalUrl = req.originalUrl;
|
|
10275
|
+
logger.error(`Proxy error ${proxyRes.statusCode}: ${originalUrl}`);
|
|
10278
10276
|
}
|
|
10279
10277
|
if (req.headers.accept === "text/event-stream") {
|
|
10280
10278
|
res.writeHead(res.statusCode, {
|