@worktango/ai-assistant 0.0.100-beta.james.4 → 0.0.100-beta.james.5

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.
Files changed (2) hide show
  1. package/dist/express.js +3 -1
  2. package/package.json +1 -1
package/dist/express.js CHANGED
@@ -10271,9 +10271,11 @@ function setupAiAssistantRoutes(args) {
10271
10271
  },
10272
10272
  proxyRes: (proxyRes, req, res) => {
10273
10273
  if (proxyRes.statusCode !== 200) {
10274
+ const originalUrl = req.originalUrl;
10274
10275
  logger.error(`Proxy status ${proxyRes.statusCode}:`, {
10275
10276
  proxyResURL: proxyRes.url,
10276
- reqURL: req.url
10277
+ reqURL: req.url,
10278
+ reqOriginal: originalUrl
10277
10279
  });
10278
10280
  }
10279
10281
  if (req.headers.accept === "text/event-stream") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktango/ai-assistant",
3
- "version": "0.0.100-beta.james.4",
3
+ "version": "0.0.100-beta.james.5",
4
4
  "files": [
5
5
  "constants.js",
6
6
  "dist",