aimodels 0.3.8 → 0.3.9

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.d.mts CHANGED
@@ -58,6 +58,12 @@ interface TokenContext extends BaseContext {
58
58
  * When not set, available output tokens may be reduced based on input size.
59
59
  */
60
60
  outputIsFixed?: 1;
61
+ /**
62
+ * Extended capabilities beyond the standard model behavior.
63
+ * This is a flexible object that can contain any properties or nested objects
64
+ * related to model-specific extensions (e.g., reasoning, experimental features).
65
+ */
66
+ extended?: Record<string, any>;
61
67
  }
62
68
  interface CharacterContext extends BaseContext {
63
69
  type: "character";
package/dist/index.d.ts CHANGED
@@ -58,6 +58,12 @@ interface TokenContext extends BaseContext {
58
58
  * When not set, available output tokens may be reduced based on input size.
59
59
  */
60
60
  outputIsFixed?: 1;
61
+ /**
62
+ * Extended capabilities beyond the standard model behavior.
63
+ * This is a flexible object that can contain any properties or nested objects
64
+ * related to model-specific extensions (e.g., reasoning, experimental features).
65
+ */
66
+ extended?: Record<string, any>;
61
67
  }
62
68
  interface CharacterContext extends BaseContext {
63
69
  type: "character";
package/dist/index.js CHANGED
@@ -753,6 +753,36 @@ var anthropic_models_default = {
753
753
  outputIsFixed: 1
754
754
  },
755
755
  aliases: ["claude-3-5-haiku-latest", "claude-3-5-haiku"]
756
+ },
757
+ {
758
+ id: "claude-3-7-sonnet-20250219",
759
+ name: "Claude 3.7 Sonnet",
760
+ license: "proprietary",
761
+ providers: ["anthropic", "aws", "google"],
762
+ can: [
763
+ "chat",
764
+ "text-in",
765
+ "text-out",
766
+ "img-in",
767
+ "json-out",
768
+ "function-out",
769
+ "reason"
770
+ ],
771
+ context: {
772
+ type: "token",
773
+ total: 2e5,
774
+ maxOutput: 8192,
775
+ outputIsFixed: 1,
776
+ extended: {
777
+ reasoning: {
778
+ maxOutput: 64e3
779
+ },
780
+ experimental: {
781
+ maxOutput: 128e3
782
+ }
783
+ }
784
+ },
785
+ aliases: ["claude-3-7-sonnet-latest", "claude-3-7-sonnet"]
756
786
  }
757
787
  ]
758
788
  };
package/dist/index.mjs CHANGED
@@ -724,6 +724,36 @@ var anthropic_models_default = {
724
724
  outputIsFixed: 1
725
725
  },
726
726
  aliases: ["claude-3-5-haiku-latest", "claude-3-5-haiku"]
727
+ },
728
+ {
729
+ id: "claude-3-7-sonnet-20250219",
730
+ name: "Claude 3.7 Sonnet",
731
+ license: "proprietary",
732
+ providers: ["anthropic", "aws", "google"],
733
+ can: [
734
+ "chat",
735
+ "text-in",
736
+ "text-out",
737
+ "img-in",
738
+ "json-out",
739
+ "function-out",
740
+ "reason"
741
+ ],
742
+ context: {
743
+ type: "token",
744
+ total: 2e5,
745
+ maxOutput: 8192,
746
+ outputIsFixed: 1,
747
+ extended: {
748
+ reasoning: {
749
+ maxOutput: 64e3
750
+ },
751
+ experimental: {
752
+ maxOutput: 128e3
753
+ }
754
+ }
755
+ },
756
+ aliases: ["claude-3-7-sonnet-latest", "claude-3-7-sonnet"]
727
757
  }
728
758
  ]
729
759
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aimodels",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "A collection of AI model specifications across different providers",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",