@chainfuse/ai-tools 0.2.0 → 0.2.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.
@@ -201,7 +201,7 @@ export class AiRawProviders extends AiBase {
201
201
  }));
202
202
  }
203
203
  custom(args) {
204
- if (this.config.providers.custom) {
204
+ if (this.config.providers.custom?.url) {
205
205
  // Verify that the custom provider url is a valid URL
206
206
  return z
207
207
  .string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainfuse/ai-tools",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "",
5
5
  "author": "ChainFuse",
6
6
  "homepage": "https://github.com/ChainFuse/packages/tree/main/packages/ai-tools#readme",
@@ -64,5 +64,5 @@
64
64
  "@cloudflare/workers-types": "^4.20250109.0",
65
65
  "openai": "^4.77.4"
66
66
  },
67
- "gitHead": "75406cd04aedccc51d9972a79dfbbd5ce7fe6945"
67
+ "gitHead": "875629e9d3ae2cb62f053f78551c3a5e4d4443f5"
68
68
  }