@librechat/agents-types 3.0.32 → 3.0.34
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
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// src/types/llm.ts
|
|
2
|
-
import { ChatOllama } from '@langchain/ollama';
|
|
3
2
|
import { ChatMistralAI } from '@langchain/mistralai';
|
|
4
3
|
import type {
|
|
5
4
|
BindToolsInput,
|
|
@@ -22,7 +21,6 @@ import type { RequestOptions } from '@google/generative-ai';
|
|
|
22
21
|
import type { StructuredTool } from '@langchain/core/tools';
|
|
23
22
|
import type { AnthropicInput } from '@langchain/anthropic';
|
|
24
23
|
import type { Runnable } from '@langchain/core/runnables';
|
|
25
|
-
import type { ChatOllamaInput } from '@langchain/ollama';
|
|
26
24
|
import type { OpenAI as OpenAIClient } from 'openai';
|
|
27
25
|
import type { ChatXAIInput } from '@langchain/xai';
|
|
28
26
|
import {
|
|
@@ -57,7 +55,6 @@ export type AnthropicReasoning = {
|
|
|
57
55
|
thinkingBudget?: number;
|
|
58
56
|
};
|
|
59
57
|
export type OpenAIClientOptions = ChatOpenAIFields;
|
|
60
|
-
export type OllamaClientOptions = ChatOllamaInput;
|
|
61
58
|
export type AnthropicClientOptions = AnthropicInput;
|
|
62
59
|
export type MistralAIClientOptions = ChatMistralAIInput;
|
|
63
60
|
export type VertexAIClientOptions = ChatVertexAIInput & {
|
|
@@ -80,7 +77,6 @@ export type XAIClientOptions = ChatXAIInput;
|
|
|
80
77
|
export type ClientOptions =
|
|
81
78
|
| OpenAIClientOptions
|
|
82
79
|
| AzureClientOptions
|
|
83
|
-
| OllamaClientOptions
|
|
84
80
|
| AnthropicClientOptions
|
|
85
81
|
| MistralAIClientOptions
|
|
86
82
|
| VertexAIClientOptions
|
|
@@ -103,7 +99,6 @@ export type LLMConfig = SharedLLMConfig &
|
|
|
103
99
|
export type ProviderOptionsMap = {
|
|
104
100
|
[Providers.AZURE]: AzureClientOptions;
|
|
105
101
|
[Providers.OPENAI]: OpenAIClientOptions;
|
|
106
|
-
[Providers.OLLAMA]: OllamaClientOptions;
|
|
107
102
|
[Providers.GOOGLE]: GoogleClientOptions;
|
|
108
103
|
[Providers.VERTEXAI]: VertexAIClientOptions;
|
|
109
104
|
[Providers.DEEPSEEK]: DeepSeekClientOptions;
|
|
@@ -118,7 +113,6 @@ export type ProviderOptionsMap = {
|
|
|
118
113
|
export type ChatModelMap = {
|
|
119
114
|
[Providers.XAI]: ChatXAI;
|
|
120
115
|
[Providers.OPENAI]: ChatOpenAI;
|
|
121
|
-
[Providers.OLLAMA]: ChatOllama;
|
|
122
116
|
[Providers.AZURE]: AzureChatOpenAI;
|
|
123
117
|
[Providers.DEEPSEEK]: ChatDeepSeek;
|
|
124
118
|
[Providers.VERTEXAI]: ChatVertexAI;
|