@adaline/bedrock 0.19.0 → 0.21.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
@@ -36,7 +36,7 @@ declare const BedrockAnthropicChatModelBaseConfigDef: (maxOutputTokens: number,
36
36
  param: string;
37
37
  title: string;
38
38
  description: string;
39
- default: string | null;
39
+ default: string;
40
40
  choices: string[];
41
41
  };
42
42
  readonly temperature: {
@@ -91,7 +91,7 @@ declare const BedrockAnthropicChatModelBaseConfigDef: (maxOutputTokens: number,
91
91
  param: string;
92
92
  title: string;
93
93
  description: string;
94
- default: string | null;
94
+ default: string;
95
95
  choices: string[];
96
96
  };
97
97
  };
@@ -102,7 +102,7 @@ declare const awsRegionChoice: {
102
102
  param: string;
103
103
  title: string;
104
104
  description: string;
105
- default: string | null;
105
+ default: string;
106
106
  choices: string[];
107
107
  };
108
108
  schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
@@ -116,7 +116,7 @@ declare const BedrockAnthropicChatModelConfigs: {
116
116
  param: string;
117
117
  title: string;
118
118
  description: string;
119
- default: string | null;
119
+ default: string;
120
120
  choices: string[];
121
121
  };
122
122
  readonly temperature: {
@@ -171,7 +171,7 @@ declare const BedrockAnthropicChatModelConfigs: {
171
171
  param: string;
172
172
  title: string;
173
173
  description: string;
174
- default: string | null;
174
+ default: string;
175
175
  choices: string[];
176
176
  };
177
177
  };
@@ -294,11 +294,12 @@ declare const BedrockClaude3_5Haiku20241022Schema: {
294
294
  param: string;
295
295
  title: string;
296
296
  description: string;
297
- default: string | null;
297
+ default: string;
298
298
  choices: string[];
299
299
  }>;
300
300
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
301
301
  };
302
+ maxReasoningTokens?: number | undefined;
302
303
  };
303
304
  declare const BedrockClaude3_5Haiku20241022Options: z.ZodObject<{
304
305
  modelName: z.ZodString;
@@ -359,11 +360,12 @@ declare const BedrockClaude3_5Sonnet20240620Schema: {
359
360
  param: string;
360
361
  title: string;
361
362
  description: string;
362
- default: string | null;
363
+ default: string;
363
364
  choices: string[];
364
365
  }>;
365
366
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
366
367
  };
368
+ maxReasoningTokens?: number | undefined;
367
369
  };
368
370
  declare const BedrockClaude3_5Sonnet20240620Options: z.ZodObject<{
369
371
  modelName: z.ZodString;
@@ -424,11 +426,12 @@ declare const BedrockClaude3_5Sonnet20241022Schema: {
424
426
  param: string;
425
427
  title: string;
426
428
  description: string;
427
- default: string | null;
429
+ default: string;
428
430
  choices: string[];
429
431
  }>;
430
432
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
431
433
  };
434
+ maxReasoningTokens?: number | undefined;
432
435
  };
433
436
  declare const BedrockClaude3_5Sonnet20241022Options: z.ZodObject<{
434
437
  modelName: z.ZodString;
@@ -489,11 +492,12 @@ declare const BedrockClaude3Haiku20240307Schema: {
489
492
  param: string;
490
493
  title: string;
491
494
  description: string;
492
- default: string | null;
495
+ default: string;
493
496
  choices: string[];
494
497
  }>;
495
498
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
496
499
  };
500
+ maxReasoningTokens?: number | undefined;
497
501
  };
498
502
  declare const BedrockClaude3Haiku20240307Options: z.ZodObject<{
499
503
  modelName: z.ZodString;
@@ -554,11 +558,12 @@ declare const BedrockClaude3Opus20240229Schema: {
554
558
  param: string;
555
559
  title: string;
556
560
  description: string;
557
- default: string | null;
561
+ default: string;
558
562
  choices: string[];
559
563
  }>;
560
564
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
561
565
  };
566
+ maxReasoningTokens?: number | undefined;
562
567
  };
563
568
  declare const BedrockClaude3Opus20240229Options: z.ZodObject<{
564
569
  modelName: z.ZodString;
@@ -619,11 +624,12 @@ declare const BedrockClaude3Sonnet20240229Schema: {
619
624
  param: string;
620
625
  title: string;
621
626
  description: string;
622
- default: string | null;
627
+ default: string;
623
628
  choices: string[];
624
629
  }>;
625
630
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
626
631
  };
632
+ maxReasoningTokens?: number | undefined;
627
633
  };
628
634
  declare const BedrockClaude3Sonnet20240229Options: z.ZodObject<{
629
635
  modelName: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -36,7 +36,7 @@ declare const BedrockAnthropicChatModelBaseConfigDef: (maxOutputTokens: number,
36
36
  param: string;
37
37
  title: string;
38
38
  description: string;
39
- default: string | null;
39
+ default: string;
40
40
  choices: string[];
41
41
  };
42
42
  readonly temperature: {
@@ -91,7 +91,7 @@ declare const BedrockAnthropicChatModelBaseConfigDef: (maxOutputTokens: number,
91
91
  param: string;
92
92
  title: string;
93
93
  description: string;
94
- default: string | null;
94
+ default: string;
95
95
  choices: string[];
96
96
  };
97
97
  };
@@ -102,7 +102,7 @@ declare const awsRegionChoice: {
102
102
  param: string;
103
103
  title: string;
104
104
  description: string;
105
- default: string | null;
105
+ default: string;
106
106
  choices: string[];
107
107
  };
108
108
  schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
@@ -116,7 +116,7 @@ declare const BedrockAnthropicChatModelConfigs: {
116
116
  param: string;
117
117
  title: string;
118
118
  description: string;
119
- default: string | null;
119
+ default: string;
120
120
  choices: string[];
121
121
  };
122
122
  readonly temperature: {
@@ -171,7 +171,7 @@ declare const BedrockAnthropicChatModelConfigs: {
171
171
  param: string;
172
172
  title: string;
173
173
  description: string;
174
- default: string | null;
174
+ default: string;
175
175
  choices: string[];
176
176
  };
177
177
  };
@@ -294,11 +294,12 @@ declare const BedrockClaude3_5Haiku20241022Schema: {
294
294
  param: string;
295
295
  title: string;
296
296
  description: string;
297
- default: string | null;
297
+ default: string;
298
298
  choices: string[];
299
299
  }>;
300
300
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
301
301
  };
302
+ maxReasoningTokens?: number | undefined;
302
303
  };
303
304
  declare const BedrockClaude3_5Haiku20241022Options: z.ZodObject<{
304
305
  modelName: z.ZodString;
@@ -359,11 +360,12 @@ declare const BedrockClaude3_5Sonnet20240620Schema: {
359
360
  param: string;
360
361
  title: string;
361
362
  description: string;
362
- default: string | null;
363
+ default: string;
363
364
  choices: string[];
364
365
  }>;
365
366
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
366
367
  };
368
+ maxReasoningTokens?: number | undefined;
367
369
  };
368
370
  declare const BedrockClaude3_5Sonnet20240620Options: z.ZodObject<{
369
371
  modelName: z.ZodString;
@@ -424,11 +426,12 @@ declare const BedrockClaude3_5Sonnet20241022Schema: {
424
426
  param: string;
425
427
  title: string;
426
428
  description: string;
427
- default: string | null;
429
+ default: string;
428
430
  choices: string[];
429
431
  }>;
430
432
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
431
433
  };
434
+ maxReasoningTokens?: number | undefined;
432
435
  };
433
436
  declare const BedrockClaude3_5Sonnet20241022Options: z.ZodObject<{
434
437
  modelName: z.ZodString;
@@ -489,11 +492,12 @@ declare const BedrockClaude3Haiku20240307Schema: {
489
492
  param: string;
490
493
  title: string;
491
494
  description: string;
492
- default: string | null;
495
+ default: string;
493
496
  choices: string[];
494
497
  }>;
495
498
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
496
499
  };
500
+ maxReasoningTokens?: number | undefined;
497
501
  };
498
502
  declare const BedrockClaude3Haiku20240307Options: z.ZodObject<{
499
503
  modelName: z.ZodString;
@@ -554,11 +558,12 @@ declare const BedrockClaude3Opus20240229Schema: {
554
558
  param: string;
555
559
  title: string;
556
560
  description: string;
557
- default: string | null;
561
+ default: string;
558
562
  choices: string[];
559
563
  }>;
560
564
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
561
565
  };
566
+ maxReasoningTokens?: number | undefined;
562
567
  };
563
568
  declare const BedrockClaude3Opus20240229Options: z.ZodObject<{
564
569
  modelName: z.ZodString;
@@ -619,11 +624,12 @@ declare const BedrockClaude3Sonnet20240229Schema: {
619
624
  param: string;
620
625
  title: string;
621
626
  description: string;
622
- default: string | null;
627
+ default: string;
623
628
  choices: string[];
624
629
  }>;
625
630
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
626
631
  };
632
+ maxReasoningTokens?: number | undefined;
627
633
  };
628
634
  declare const BedrockClaude3Sonnet20240229Options: z.ZodObject<{
629
635
  modelName: z.ZodString;