@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.
Files changed (2) hide show
  1. package/dist/express.js +2 -4
  2. 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
- logger.error(`Proxy status ${proxyRes.statusCode}:`, {
10275
- proxyResURL: proxyRes.url,
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, {
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",
4
4
  "files": [
5
5
  "constants.js",
6
6
  "dist",