open-agents-ai 0.67.0 → 0.67.1

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/index.js +3 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -22283,17 +22283,14 @@ var init_expose = __esm({
22283
22283
  this.extractModelFromRequest(req);
22284
22284
  url.searchParams.delete("key");
22285
22285
  const forwardPath = url.pathname + url.search;
22286
+ const forwardHeaders = { ...req.headers, host: target.host };
22287
+ delete forwardHeaders.authorization;
22286
22288
  const proxyReq = httpRequest({
22287
22289
  hostname: target.hostname,
22288
22290
  port: target.port || (target.protocol === "https:" ? 443 : 80),
22289
22291
  path: forwardPath,
22290
22292
  method: req.method,
22291
- headers: {
22292
- ...req.headers,
22293
- host: target.host,
22294
- // Remove auth header — the backend doesn't need it
22295
- authorization: void 0
22296
- }
22293
+ headers: forwardHeaders
22297
22294
  }, (proxyRes) => {
22298
22295
  res.writeHead(proxyRes.statusCode ?? 502, proxyRes.headers);
22299
22296
  proxyRes.pipe(res);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.67.0",
3
+ "version": "0.67.1",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",