@librechat/agents-types 2.3.6 → 2.3.8

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.
Files changed (2) hide show
  1. package/llm.ts +9 -2
  2. package/package.json +1 -1
package/llm.ts CHANGED
@@ -35,16 +35,23 @@ export type AzureClientOptions = (Partial<OpenAIChatInput> & Partial<AzureOpenAI
35
35
  } & BaseChatModelParams & {
36
36
  configuration?: OAIClientOptions;
37
37
  });
38
-
38
+ export type ThinkingConfig = AnthropicInput['thinking'];
39
39
  export type ChatOpenAIToolType = BindToolsInput | OpenAIClient.ChatCompletionTool;
40
40
  export type CommonToolType = StructuredTool | ChatOpenAIToolType;
41
-
41
+ export type AnthropicReasoning = {
42
+ thinking?: ThinkingConfig | boolean;
43
+ thinkingBudget?: number;
44
+ };
42
45
  export type OpenAIClientOptions = ChatOpenAIFields;
43
46
  export type OllamaClientOptions = ChatOllamaInput;
44
47
  export type AnthropicClientOptions = AnthropicInput;
45
48
  export type MistralAIClientOptions = ChatMistralAIInput;
46
49
  export type VertexAIClientOptions = ChatVertexAIInput;
47
50
  export type BedrockClientOptions = BedrockChatFields;
51
+ export type BedrockAnthropicInput = ChatBedrockConverseInput & {
52
+ additionalModelRequestFields?: ChatBedrockConverseInput['additionalModelRequestFields'] &
53
+ AnthropicReasoning;
54
+ };
48
55
  export type BedrockConverseClientOptions = ChatBedrockConverseInput;
49
56
  export type GoogleClientOptions = GoogleGenerativeAIChatInput;
50
57
  export type DeepSeekClientOptions = ChatDeepSeekCallOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@librechat/agents-types",
3
- "version": "2.3.6",
3
+ "version": "2.3.8",
4
4
  "description": "Type definitions for @librechat/agents",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {