@worktango/ai-assistant 0.0.100-beta.james.5 → 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 +1 -5
- package/package.json +1 -1
package/dist/express.js
CHANGED
|
@@ -10272,11 +10272,7 @@ function setupAiAssistantRoutes(args) {
|
|
|
10272
10272
|
proxyRes: (proxyRes, req, res) => {
|
|
10273
10273
|
if (proxyRes.statusCode !== 200) {
|
|
10274
10274
|
const originalUrl = req.originalUrl;
|
|
10275
|
-
logger.error(`Proxy
|
|
10276
|
-
proxyResURL: proxyRes.url,
|
|
10277
|
-
reqURL: req.url,
|
|
10278
|
-
reqOriginal: originalUrl
|
|
10279
|
-
});
|
|
10275
|
+
logger.error(`Proxy error ${proxyRes.statusCode}: ${originalUrl}`);
|
|
10280
10276
|
}
|
|
10281
10277
|
if (req.headers.accept === "text/event-stream") {
|
|
10282
10278
|
res.writeHead(res.statusCode, {
|