@librechat/agents-types 2.4.43 → 2.4.44
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 +7 -5
- package/package.json +1 -1
package/llm.ts
CHANGED
@@ -3,7 +3,6 @@ import { ChatOllama } from '@langchain/ollama';
|
|
3
3
|
import { ChatAnthropic } from '@langchain/anthropic';
|
4
4
|
import { ChatMistralAI } from '@langchain/mistralai';
|
5
5
|
import { ChatBedrockConverse } from '@langchain/aws';
|
6
|
-
import { ChatVertexAI } from '@langchain/google-vertexai';
|
7
6
|
import { BedrockChat } from '@langchain/community/chat_models/bedrock/web';
|
8
7
|
import type {
|
9
8
|
BindToolsInput,
|
@@ -31,13 +30,14 @@ import type { ChatOllamaInput } from '@langchain/ollama';
|
|
31
30
|
import type { OpenAI as OpenAIClient } from 'openai';
|
32
31
|
import type { ChatXAIInput } from '@langchain/xai';
|
33
32
|
import {
|
34
|
-
ChatXAI,
|
35
|
-
ChatOpenAI,
|
36
|
-
ChatDeepSeek,
|
37
33
|
AzureChatOpenAI,
|
34
|
+
ChatDeepSeek,
|
35
|
+
ChatOpenAI,
|
36
|
+
ChatXAI,
|
38
37
|
} from '@/llm/openai';
|
39
38
|
import { CustomChatGoogleGenerativeAI } from '@/llm/google';
|
40
39
|
import { ChatOpenRouter } from '@/llm/openrouter';
|
40
|
+
import { ChatVertexAI } from '@/llm/vertexai';
|
41
41
|
import { Providers } from '@/common';
|
42
42
|
|
43
43
|
export type AzureClientOptions = Partial<OpenAIChatInput> &
|
@@ -62,7 +62,9 @@ export type OpenAIClientOptions = ChatOpenAIFields;
|
|
62
62
|
export type OllamaClientOptions = ChatOllamaInput;
|
63
63
|
export type AnthropicClientOptions = AnthropicInput;
|
64
64
|
export type MistralAIClientOptions = ChatMistralAIInput;
|
65
|
-
export type VertexAIClientOptions = ChatVertexAIInput
|
65
|
+
export type VertexAIClientOptions = ChatVertexAIInput & {
|
66
|
+
includeThoughts?: boolean;
|
67
|
+
};
|
66
68
|
export type BedrockClientOptions = BedrockChatFields;
|
67
69
|
export type BedrockAnthropicInput = ChatBedrockConverseInput & {
|
68
70
|
additionalModelRequestFields?: ChatBedrockConverseInput['additionalModelRequestFields'] &
|