@librechat/agents-types 2.4.41 → 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.
Files changed (4) hide show
  1. package/llm.ts +2 -0
  2. package/package.json +1 -1
  3. package/run.ts +1 -0
  4. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@librechat/agents-types",
3
- "version": "2.4.41",
3
+ "version": "2.4.43",
4
4
  "description": "Type definitions for @librechat/agents",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
package/run.ts CHANGED
@@ -26,6 +26,7 @@ export type StandardGraphConfig = BaseGraphConfig &
26
26
 
27
27
  export type RunTitleOptions = {
28
28
  inputText: string;
29
+ provider: e.Providers;
29
30
  contentParts: (s.MessageContentComplex | undefined)[];
30
31
  titlePrompt?: string;
31
32
  skipLanguage?: boolean;
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;