@adaline/provider 1.2.3 → 1.3.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.
package/dist/index.d.mts CHANGED
@@ -89,7 +89,7 @@ declare class InvalidEmbeddingRequestsError extends GatewayBaseError {
89
89
  static isInvalidEmbeddingRequestsError(error: unknown): error is InvalidEmbeddingRequestsError;
90
90
  }
91
91
 
92
- declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["system", "user", "assistant", "tool"]>, M extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["text", "image", "tool-call", "tool-response", "reasoning"]>>(Roles?: R, Modalities?: M) => z.ZodObject<{
92
+ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["system", "user", "assistant", "tool"]>, M extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["text", "image", "pdf", "tool-call", "tool-response", "reasoning"]>>(Roles?: R, Modalities?: M) => z.ZodObject<{
93
93
  name: z.ZodString;
94
94
  description: z.ZodString;
95
95
  roles: z.ZodRecord<R, z.ZodOptional<z.ZodString>>;
package/dist/index.d.ts CHANGED
@@ -89,7 +89,7 @@ declare class InvalidEmbeddingRequestsError extends GatewayBaseError {
89
89
  static isInvalidEmbeddingRequestsError(error: unknown): error is InvalidEmbeddingRequestsError;
90
90
  }
91
91
 
92
- declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["system", "user", "assistant", "tool"]>, M extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["text", "image", "tool-call", "tool-response", "reasoning"]>>(Roles?: R, Modalities?: M) => z.ZodObject<{
92
+ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["system", "user", "assistant", "tool"]>, M extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["text", "image", "pdf", "tool-call", "tool-response", "reasoning"]>>(Roles?: R, Modalities?: M) => z.ZodObject<{
93
93
  name: z.ZodString;
94
94
  description: z.ZodString;
95
95
  roles: z.ZodRecord<R, z.ZodOptional<z.ZodString>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaline/provider",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "private": false,
@@ -46,11 +46,11 @@
46
46
  ],
47
47
  "dependencies": {
48
48
  "zod": "^3.23.8",
49
- "@adaline/types": "1.5.0"
49
+ "@adaline/types": "1.7.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@adaline/tsconfig": "0.11.0",
53
- "eslint-config-adaline": "0.8.0"
52
+ "eslint-config-adaline": "0.8.0",
53
+ "@adaline/tsconfig": "0.11.0"
54
54
  },
55
55
  "scripts": {
56
56
  "clean": "rimraf node_modules .turbo dist",