@inkeep/agents-run-api 0.0.0-dev-20251119173442 → 0.0.0-dev-20251119215925

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/index.cjs CHANGED
@@ -2667,6 +2667,9 @@ var _ModelFactory = class _ModelFactory {
2667
2667
  if (providerOptions.baseUrl || providerOptions.baseURL) {
2668
2668
  providerConfig.baseURL = providerOptions.baseUrl || providerOptions.baseURL;
2669
2669
  }
2670
+ if (providerOptions.headers) {
2671
+ providerConfig.headers = providerOptions.headers;
2672
+ }
2670
2673
  if (providerOptions.gateway) {
2671
2674
  Object.assign(providerConfig, providerOptions.gateway);
2672
2675
  }
@@ -2763,7 +2766,7 @@ var _ModelFactory = class _ModelFactory {
2763
2766
  if (!providerOptions) {
2764
2767
  return {};
2765
2768
  }
2766
- const excludedKeys = ["apiKey", "baseURL", "baseUrl", "maxDuration"];
2769
+ const excludedKeys = ["apiKey", "baseURL", "baseUrl", "maxDuration", "headers", "gateway", "nim", "custom"];
2767
2770
  const params = {};
2768
2771
  for (const [key, value] of Object.entries(providerOptions)) {
2769
2772
  if (!excludedKeys.includes(key) && value !== void 0) {
package/dist/index.js CHANGED
@@ -1021,6 +1021,9 @@ var _ModelFactory = class _ModelFactory {
1021
1021
  if (providerOptions.baseUrl || providerOptions.baseURL) {
1022
1022
  providerConfig.baseURL = providerOptions.baseUrl || providerOptions.baseURL;
1023
1023
  }
1024
+ if (providerOptions.headers) {
1025
+ providerConfig.headers = providerOptions.headers;
1026
+ }
1024
1027
  if (providerOptions.gateway) {
1025
1028
  Object.assign(providerConfig, providerOptions.gateway);
1026
1029
  }
@@ -1117,7 +1120,7 @@ var _ModelFactory = class _ModelFactory {
1117
1120
  if (!providerOptions) {
1118
1121
  return {};
1119
1122
  }
1120
- const excludedKeys = ["apiKey", "baseURL", "baseUrl", "maxDuration"];
1123
+ const excludedKeys = ["apiKey", "baseURL", "baseUrl", "maxDuration", "headers", "gateway", "nim", "custom"];
1121
1124
  const params = {};
1122
1125
  for (const [key, value] of Object.entries(providerOptions)) {
1123
1126
  if (!excludedKeys.includes(key) && value !== void 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-run-api",
3
- "version": "0.0.0-dev-20251119173442",
3
+ "version": "0.0.0-dev-20251119215925",
4
4
  "description": "Agents Run API for Inkeep Agent Framework - handles chat, agent execution, and streaming",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -54,7 +54,7 @@
54
54
  "traverse": "^0.6.11",
55
55
  "ts-pattern": "^5.7.1",
56
56
  "zod": "4.1.5",
57
- "@inkeep/agents-core": "^0.0.0-dev-20251119173442"
57
+ "@inkeep/agents-core": "^0.0.0-dev-20251119215925"
58
58
  },
59
59
  "optionalDependencies": {
60
60
  "keytar": "^7.9.0"