@librechat/agents-types 3.0.0 → 3.0.2
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/llm.ts +0 -6
- package/package.json +1 -1
package/llm.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { ChatOllama } from '@langchain/ollama';
|
|
3
3
|
import { ChatMistralAI } from '@langchain/mistralai';
|
|
4
4
|
import { ChatBedrockConverse } from '@langchain/aws';
|
|
5
|
-
import { BedrockChat } from '@langchain/community/chat_models/bedrock/web';
|
|
6
5
|
import type {
|
|
7
6
|
BindToolsInput,
|
|
8
7
|
BaseChatModelParams,
|
|
@@ -13,7 +12,6 @@ import type {
|
|
|
13
12
|
AzureOpenAIInput,
|
|
14
13
|
ClientOptions as OAIClientOptions,
|
|
15
14
|
} from '@langchain/openai';
|
|
16
|
-
import type { BedrockChatFields } from '@langchain/community/chat_models/bedrock/web';
|
|
17
15
|
import type { GoogleGenerativeAIChatInput } from '@langchain/google-genai';
|
|
18
16
|
import type { GeminiGenerationConfig } from '@langchain/google-common';
|
|
19
17
|
import type { ChatVertexAIInput } from '@langchain/google-vertexai';
|
|
@@ -65,7 +63,6 @@ export type MistralAIClientOptions = ChatMistralAIInput;
|
|
|
65
63
|
export type VertexAIClientOptions = ChatVertexAIInput & {
|
|
66
64
|
includeThoughts?: boolean;
|
|
67
65
|
};
|
|
68
|
-
export type BedrockClientOptions = BedrockChatFields;
|
|
69
66
|
export type BedrockAnthropicInput = ChatBedrockConverseInput & {
|
|
70
67
|
additionalModelRequestFields?: ChatBedrockConverseInput['additionalModelRequestFields'] &
|
|
71
68
|
AnthropicReasoning;
|
|
@@ -85,7 +82,6 @@ export type ClientOptions =
|
|
|
85
82
|
| AnthropicClientOptions
|
|
86
83
|
| MistralAIClientOptions
|
|
87
84
|
| VertexAIClientOptions
|
|
88
|
-
| BedrockClientOptions
|
|
89
85
|
| BedrockConverseClientOptions
|
|
90
86
|
| GoogleClientOptions
|
|
91
87
|
| DeepSeekClientOptions
|
|
@@ -113,7 +109,6 @@ export type ProviderOptionsMap = {
|
|
|
113
109
|
[Providers.MISTRALAI]: MistralAIClientOptions;
|
|
114
110
|
[Providers.MISTRAL]: MistralAIClientOptions;
|
|
115
111
|
[Providers.OPENROUTER]: ChatOpenRouterCallOptions;
|
|
116
|
-
[Providers.BEDROCK_LEGACY]: BedrockClientOptions;
|
|
117
112
|
[Providers.BEDROCK]: BedrockConverseClientOptions;
|
|
118
113
|
[Providers.XAI]: XAIClientOptions;
|
|
119
114
|
};
|
|
@@ -129,7 +124,6 @@ export type ChatModelMap = {
|
|
|
129
124
|
[Providers.MISTRALAI]: ChatMistralAI;
|
|
130
125
|
[Providers.MISTRAL]: ChatMistralAI;
|
|
131
126
|
[Providers.OPENROUTER]: ChatOpenRouter;
|
|
132
|
-
[Providers.BEDROCK_LEGACY]: BedrockChat;
|
|
133
127
|
[Providers.BEDROCK]: ChatBedrockConverse;
|
|
134
128
|
[Providers.GOOGLE]: CustomChatGoogleGenerativeAI;
|
|
135
129
|
};
|