@chainfuse/types 2.4.0 → 2.5.0

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.
@@ -628,6 +628,25 @@ export declare const workersAiCatalog: {
628
628
  readonly context_window: 8192;
629
629
  readonly info: "https://huggingface.co/openchat/openchat-3.5-0106";
630
630
  };
631
+ }, {
632
+ readonly id: "06455e78-19f7-487b-93cd-c05a3dd07813";
633
+ readonly source: 1;
634
+ readonly name: "@cf/meta/llama-4-scout-17b-16e-instruct";
635
+ readonly description: "Meta's Llama 4 Scout is a 17 billion parameter model with 16 experts that is natively multimodal. These models leverage a mixture-of-experts architecture to offer industry-leading performance in text and image understanding.";
636
+ readonly created_at: "2025-04-05 20:25:56.137";
637
+ readonly tags: readonly [];
638
+ readonly properties: {
639
+ readonly price: readonly [{
640
+ readonly unit: "per M input tokens";
641
+ readonly price: 0;
642
+ readonly currency: "USD";
643
+ }, {
644
+ readonly unit: "per M output tokens";
645
+ readonly price: 0;
646
+ readonly currency: "USD";
647
+ }];
648
+ readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama4/LICENSE";
649
+ };
631
650
  }];
632
651
  };
633
652
  readonly 'Text Embeddings': {
@@ -711,6 +711,29 @@ export const workersAiCatalog = {
711
711
  info: 'https://huggingface.co/openchat/openchat-3.5-0106',
712
712
  },
713
713
  },
714
+ {
715
+ id: '06455e78-19f7-487b-93cd-c05a3dd07813',
716
+ source: 1,
717
+ name: '@cf/meta/llama-4-scout-17b-16e-instruct',
718
+ description: "Meta's Llama 4 Scout is a 17 billion parameter model with 16 experts that is natively multimodal. These models leverage a mixture-of-experts architecture to offer industry-leading performance in text and image understanding.",
719
+ created_at: '2025-04-05 20:25:56.137',
720
+ tags: [],
721
+ properties: {
722
+ price: [
723
+ {
724
+ unit: 'per M input tokens',
725
+ price: 0,
726
+ currency: 'USD',
727
+ },
728
+ {
729
+ unit: 'per M output tokens',
730
+ price: 0,
731
+ currency: 'USD',
732
+ },
733
+ ],
734
+ terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama4/LICENSE',
735
+ },
736
+ },
714
737
  ],
715
738
  },
716
739
  'Text Embeddings': {
package/dist/index.d.ts CHANGED
@@ -46,5 +46,5 @@ export interface ExternallyResolvablePromise<T> {
46
46
  export type UndefinedProperties<T extends object> = {
47
47
  [P in keyof T]: undefined;
48
48
  };
49
- export type CustomLogCallback = (message: string) => void;
49
+ export type CustomLogCallback = (message?: any, ...optionalParams: any[]) => void;
50
50
  export type CustomLoging = boolean | CustomLogCallback;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainfuse/types",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "",
5
5
  "author": "ChainFuse",
6
6
  "homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
@@ -94,8 +94,8 @@
94
94
  "zod": "^3.24.2"
95
95
  },
96
96
  "devDependencies": {
97
- "@cloudflare/workers-types": "^4.20250402.0",
97
+ "@cloudflare/workers-types": "^4.20250407.0",
98
98
  "@types/validator": "^13.12.3"
99
99
  },
100
- "gitHead": "03a624d8b16b8043fdd51595a2f293aaf3017f51"
100
+ "gitHead": "bbe7acd905d1ac371a01cbdbcba1fb0023ee185c"
101
101
  }