@librechat/agents-types 2.4.42 → 2.4.43
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 +2 -0
- package/package.json +1 -1
- package/stream.ts +6 -0
package/llm.ts
CHANGED
@@ -17,6 +17,7 @@ import type {
|
|
17
17
|
} from '@langchain/openai';
|
18
18
|
import type { BedrockChatFields } from '@langchain/community/chat_models/bedrock/web';
|
19
19
|
import type { GoogleGenerativeAIChatInput } from '@langchain/google-genai';
|
20
|
+
import type { GeminiGenerationConfig } from '@langchain/google-common';
|
20
21
|
import type { ChatVertexAIInput } from '@langchain/google-vertexai';
|
21
22
|
import type { ChatDeepSeekCallOptions } from '@langchain/deepseek';
|
22
23
|
import type { ChatOpenRouterCallOptions } from '@/llm/openrouter';
|
@@ -70,6 +71,7 @@ export type BedrockAnthropicInput = ChatBedrockConverseInput & {
|
|
70
71
|
export type BedrockConverseClientOptions = ChatBedrockConverseInput;
|
71
72
|
export type GoogleClientOptions = GoogleGenerativeAIChatInput & {
|
72
73
|
customHeaders?: RequestOptions['customHeaders'];
|
74
|
+
thinkingConfig?: GeminiGenerationConfig['thinkingConfig'];
|
73
75
|
};
|
74
76
|
export type DeepSeekClientOptions = ChatDeepSeekCallOptions;
|
75
77
|
export type XAIClientOptions = ChatXAIInput;
|
package/package.json
CHANGED
package/stream.ts
CHANGED
@@ -251,6 +251,12 @@ export type ReasoningContentText = {
|
|
251
251
|
think: string;
|
252
252
|
};
|
253
253
|
|
254
|
+
/** Vertex AI / Google Common - Reasoning Content Block Format */
|
255
|
+
export type GoogleReasoningContentText = {
|
256
|
+
type: ContentTypes.REASONING;
|
257
|
+
reasoning: string;
|
258
|
+
};
|
259
|
+
|
254
260
|
/** Anthropic's Reasoning Content Block Format */
|
255
261
|
export type ThinkingContentText = {
|
256
262
|
type: ContentTypes.THINKING;
|