beeai-framework 0.1.23 → 0.1.24
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/dist/adapters/a2a/serve/agent_executor.d.cts +1 -1
- package/dist/adapters/a2a/serve/agent_executor.d.ts +1 -1
- package/dist/adapters/amazon-bedrock/backend/chat.d.cts +4 -4
- package/dist/adapters/amazon-bedrock/backend/chat.d.ts +4 -4
- package/dist/adapters/amazon-bedrock/backend/embedding.d.cts +1 -1
- package/dist/adapters/amazon-bedrock/backend/embedding.d.ts +1 -1
- package/dist/adapters/anthropic/backend/chat.d.cts +5 -5
- package/dist/adapters/anthropic/backend/chat.d.ts +5 -5
- package/dist/adapters/anthropic/backend/embedding.d.cts +1 -1
- package/dist/adapters/anthropic/backend/embedding.d.ts +1 -1
- package/dist/adapters/azure-openai/backend/chat.d.cts +4 -4
- package/dist/adapters/azure-openai/backend/chat.d.ts +4 -4
- package/dist/adapters/azure-openai/backend/embedding.d.cts +1 -1
- package/dist/adapters/azure-openai/backend/embedding.d.ts +1 -1
- package/dist/adapters/dummy/backend/chat.d.cts +4 -3
- package/dist/adapters/dummy/backend/chat.d.ts +4 -3
- package/dist/adapters/dummy/backend/embedding.d.cts +1 -1
- package/dist/adapters/dummy/backend/embedding.d.ts +1 -1
- package/dist/adapters/google-vertex/backend/chat.d.cts +4 -4
- package/dist/adapters/google-vertex/backend/chat.d.ts +4 -4
- package/dist/adapters/google-vertex/backend/embedding.d.cts +1 -1
- package/dist/adapters/google-vertex/backend/embedding.d.ts +1 -1
- package/dist/adapters/groq/backend/chat.d.cts +4 -4
- package/dist/adapters/groq/backend/chat.d.ts +4 -4
- package/dist/adapters/groq/backend/embedding.d.cts +1 -1
- package/dist/adapters/groq/backend/embedding.d.ts +1 -1
- package/dist/adapters/langchain/backend/chat.d.cts +5 -4
- package/dist/adapters/langchain/backend/chat.d.ts +5 -4
- package/dist/adapters/langchain/backend/embedding.d.cts +1 -1
- package/dist/adapters/langchain/backend/embedding.d.ts +1 -1
- package/dist/adapters/ollama/backend/chat.d.cts +4 -4
- package/dist/adapters/ollama/backend/chat.d.ts +4 -4
- package/dist/adapters/ollama/backend/embedding.d.cts +1 -1
- package/dist/adapters/ollama/backend/embedding.d.ts +1 -1
- package/dist/adapters/openai/backend/chat.d.cts +4 -4
- package/dist/adapters/openai/backend/chat.d.ts +4 -4
- package/dist/adapters/openai/backend/embedding.d.cts +1 -1
- package/dist/adapters/openai/backend/embedding.d.ts +1 -1
- package/dist/adapters/vercel/backend/chat.d.cts +4 -3
- package/dist/adapters/vercel/backend/chat.d.ts +4 -3
- package/dist/adapters/vercel/backend/embedding.d.cts +1 -1
- package/dist/adapters/vercel/backend/embedding.d.ts +1 -1
- package/dist/adapters/vercel/backend/utils.d.cts +1 -1
- package/dist/adapters/vercel/backend/utils.d.ts +1 -1
- package/dist/adapters/watsonx/backend/chat.cjs +37 -9
- package/dist/adapters/watsonx/backend/chat.cjs.map +1 -1
- package/dist/adapters/watsonx/backend/chat.d.cts +5 -4
- package/dist/adapters/watsonx/backend/chat.d.ts +5 -4
- package/dist/adapters/watsonx/backend/chat.js +37 -9
- package/dist/adapters/watsonx/backend/chat.js.map +1 -1
- package/dist/adapters/watsonx/backend/embedding.d.cts +1 -1
- package/dist/adapters/watsonx/backend/embedding.d.ts +1 -1
- package/dist/adapters/xai/backend/chat.d.cts +4 -4
- package/dist/adapters/xai/backend/chat.d.ts +4 -4
- package/dist/{agent-BVuc9Nfn.d.cts → agent-Cy4QtsN8.d.cts} +2 -2
- package/dist/{agent-Cuy8Q4gw.d.ts → agent-DHLEPXEA.d.ts} +2 -2
- package/dist/agents/experimental/replan/agent.d.cts +1 -1
- package/dist/agents/experimental/replan/agent.d.ts +1 -1
- package/dist/agents/experimental/streamlit/agent.d.cts +1 -1
- package/dist/agents/experimental/streamlit/agent.d.ts +1 -1
- package/dist/agents/react/agent.d.cts +2 -2
- package/dist/agents/react/agent.d.ts +2 -2
- package/dist/agents/react/runners/base.d.cts +2 -2
- package/dist/agents/react/runners/base.d.ts +2 -2
- package/dist/agents/react/runners/deep-think/runner.d.cts +2 -2
- package/dist/agents/react/runners/deep-think/runner.d.ts +2 -2
- package/dist/agents/react/runners/default/runner.d.cts +2 -2
- package/dist/agents/react/runners/default/runner.d.ts +2 -2
- package/dist/agents/react/runners/granite/runner.d.cts +2 -2
- package/dist/agents/react/runners/granite/runner.d.ts +2 -2
- package/dist/agents/react/types.d.cts +1 -1
- package/dist/agents/react/types.d.ts +1 -1
- package/dist/agents/requirement/agent.d.cts +2 -2
- package/dist/agents/requirement/agent.d.ts +2 -2
- package/dist/agents/requirement/requirements/conditional.d.cts +2 -2
- package/dist/agents/requirement/requirements/conditional.d.ts +2 -2
- package/dist/agents/requirement/requirements/requirement.d.cts +2 -2
- package/dist/agents/requirement/requirements/requirement.d.ts +2 -2
- package/dist/agents/requirement/runner.d.cts +2 -2
- package/dist/agents/requirement/runner.d.ts +2 -2
- package/dist/agents/requirement/types.d.cts +2 -2
- package/dist/agents/requirement/types.d.ts +2 -2
- package/dist/agents/requirement/utils/llm.d.cts +2 -2
- package/dist/agents/requirement/utils/llm.d.ts +2 -2
- package/dist/agents/requirement/utils/tool.d.cts +2 -2
- package/dist/agents/requirement/utils/tool.d.ts +2 -2
- package/dist/agents/toolCalling/agent.d.cts +1 -1
- package/dist/agents/toolCalling/agent.d.ts +1 -1
- package/dist/backend/backend.d.cts +1 -1
- package/dist/backend/backend.d.ts +1 -1
- package/dist/backend/chat.cjs +4 -2
- package/dist/backend/chat.cjs.map +1 -1
- package/dist/backend/chat.d.cts +1 -1
- package/dist/backend/chat.d.ts +1 -1
- package/dist/backend/chat.js +5 -3
- package/dist/backend/chat.js.map +1 -1
- package/dist/backend/core.d.cts +1 -1
- package/dist/backend/core.d.ts +1 -1
- package/dist/backend/embedding.d.cts +1 -1
- package/dist/backend/embedding.d.ts +1 -1
- package/dist/backend/utils.d.cts +1 -1
- package/dist/backend/utils.d.ts +1 -1
- package/dist/{chat-BOb9n7AJ.d.cts → chat-CC0s8z23.d.cts} +3 -1
- package/dist/{chat-DrqwUgD8.d.ts → chat-D8SVtw5Q.d.ts} +3 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/internals/helpers/object.cjs +18 -0
- package/dist/internals/helpers/object.cjs.map +1 -1
- package/dist/internals/helpers/object.d.cts +2 -1
- package/dist/internals/helpers/object.d.ts +2 -1
- package/dist/internals/helpers/object.js +18 -1
- package/dist/internals/helpers/object.js.map +1 -1
- package/dist/memory/summarizeMemory.d.cts +1 -1
- package/dist/memory/summarizeMemory.d.ts +1 -1
- package/dist/middleware/streamToolCall.cjs +7 -1
- package/dist/middleware/streamToolCall.cjs.map +1 -1
- package/dist/middleware/streamToolCall.d.cts +2 -0
- package/dist/middleware/streamToolCall.d.ts +2 -0
- package/dist/middleware/streamToolCall.js +7 -1
- package/dist/middleware/streamToolCall.js.map +1 -1
- package/dist/tools/custom.d.cts +1 -1
- package/dist/tools/custom.d.ts +1 -1
- package/dist/tools/database/milvus.d.cts +2 -2
- package/dist/tools/database/milvus.d.ts +2 -2
- package/dist/tools/llm.d.cts +1 -1
- package/dist/tools/llm.d.ts +1 -1
- package/dist/tools/python/python.d.cts +1 -1
- package/dist/tools/python/python.d.ts +1 -1
- package/dist/{types-W0QttuP_.d.cts → types-D9pn62yF.d.cts} +9 -9
- package/dist/{types-CJwiMH3u.d.ts → types-Dyd4e1G6.d.ts} +9 -9
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/workflows/agent.d.cts +38 -38
- package/dist/workflows/agent.d.ts +38 -38
- package/package.json +2 -2
|
@@ -28,7 +28,7 @@ import '../../../parsers/field.cjs';
|
|
|
28
28
|
import '@streamparser/json';
|
|
29
29
|
import 'jsonrepair/stream';
|
|
30
30
|
import '../../../parsers/errors.cjs';
|
|
31
|
-
import '../../../chat-
|
|
31
|
+
import '../../../chat-CC0s8z23.cjs';
|
|
32
32
|
import '../../../backend/constants.cjs';
|
|
33
33
|
import '../../../logger/logger.cjs';
|
|
34
34
|
import 'pino';
|
|
@@ -28,7 +28,7 @@ import '../../../parsers/field.js';
|
|
|
28
28
|
import '@streamparser/json';
|
|
29
29
|
import 'jsonrepair/stream';
|
|
30
30
|
import '../../../parsers/errors.js';
|
|
31
|
-
import '../../../chat-
|
|
31
|
+
import '../../../chat-D8SVtw5Q.js';
|
|
32
32
|
import '../../../backend/constants.js';
|
|
33
33
|
import '../../../logger/logger.js';
|
|
34
34
|
import 'pino';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AmazonBedrockClient, AmazonBedrockClientSettings } from './client.cjs';
|
|
2
2
|
import { VercelChatModel } from '../../vercel/backend/chat.cjs';
|
|
3
3
|
import { AmazonBedrockProvider } from '@ai-sdk/amazon-bedrock';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-CC0s8z23.cjs';
|
|
5
5
|
import '../../../backend/client.cjs';
|
|
6
6
|
import '../../../internals/serializable.cjs';
|
|
7
7
|
import '../../../internals/types.cjs';
|
|
@@ -9,11 +9,11 @@ import '../../../internals/helpers/guards.cjs';
|
|
|
9
9
|
import '../../../logger/logger.cjs';
|
|
10
10
|
import 'pino';
|
|
11
11
|
import '../../../errors.cjs';
|
|
12
|
-
import 'ai';
|
|
13
|
-
import '../../../emitter-jN55XZZq.cjs';
|
|
14
|
-
import '../../../backend/message.cjs';
|
|
15
12
|
import '../../../context.cjs';
|
|
13
|
+
import '../../../emitter-jN55XZZq.cjs';
|
|
16
14
|
import '../../../internals/helpers/promise.cjs';
|
|
15
|
+
import 'ai';
|
|
16
|
+
import '../../../backend/message.cjs';
|
|
17
17
|
import 'promise-based-task';
|
|
18
18
|
import '../../../cache/base.cjs';
|
|
19
19
|
import '../../../backend/constants.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AmazonBedrockClient, AmazonBedrockClientSettings } from './client.js';
|
|
2
2
|
import { VercelChatModel } from '../../vercel/backend/chat.js';
|
|
3
3
|
import { AmazonBedrockProvider } from '@ai-sdk/amazon-bedrock';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-D8SVtw5Q.js';
|
|
5
5
|
import '../../../backend/client.js';
|
|
6
6
|
import '../../../internals/serializable.js';
|
|
7
7
|
import '../../../internals/types.js';
|
|
@@ -9,11 +9,11 @@ import '../../../internals/helpers/guards.js';
|
|
|
9
9
|
import '../../../logger/logger.js';
|
|
10
10
|
import 'pino';
|
|
11
11
|
import '../../../errors.js';
|
|
12
|
-
import 'ai';
|
|
13
|
-
import '../../../emitter-36-9MnvA.js';
|
|
14
|
-
import '../../../backend/message.js';
|
|
15
12
|
import '../../../context.js';
|
|
13
|
+
import '../../../emitter-36-9MnvA.js';
|
|
16
14
|
import '../../../internals/helpers/promise.js';
|
|
15
|
+
import 'ai';
|
|
16
|
+
import '../../../backend/message.js';
|
|
17
17
|
import 'promise-based-task';
|
|
18
18
|
import '../../../cache/base.js';
|
|
19
19
|
import '../../../backend/constants.js';
|
|
@@ -9,7 +9,7 @@ import '../../../internals/helpers/guards.cjs';
|
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
10
10
|
import '../../../internals/helpers/promise.cjs';
|
|
11
11
|
import '../../../errors.cjs';
|
|
12
|
-
import '../../../chat-
|
|
12
|
+
import '../../../chat-CC0s8z23.cjs';
|
|
13
13
|
import '../../../backend/message.cjs';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -9,7 +9,7 @@ import '../../../internals/helpers/guards.js';
|
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
10
10
|
import '../../../internals/helpers/promise.js';
|
|
11
11
|
import '../../../errors.js';
|
|
12
|
-
import '../../../chat-
|
|
12
|
+
import '../../../chat-D8SVtw5Q.js';
|
|
13
13
|
import '../../../backend/message.js';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { VercelChatModel } from '../../vercel/backend/chat.cjs';
|
|
2
2
|
import { AnthropicClientSettings, AnthropicClient } from './client.cjs';
|
|
3
3
|
import { AnthropicProvider } from '@ai-sdk/anthropic';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-CC0s8z23.cjs';
|
|
5
5
|
import '../../../logger/logger.cjs';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.cjs';
|
|
8
8
|
import '../../../internals/types.cjs';
|
|
9
9
|
import '../../../internals/helpers/guards.cjs';
|
|
10
10
|
import '../../../internals/serializable.cjs';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-jN55XZZq.cjs';
|
|
13
|
-
import '../../../backend/message.cjs';
|
|
14
11
|
import '../../../context.cjs';
|
|
12
|
+
import '../../../emitter-jN55XZZq.cjs';
|
|
15
13
|
import '../../../internals/helpers/promise.cjs';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.cjs';
|
|
16
|
+
import '../../../backend/client.cjs';
|
|
16
17
|
import 'promise-based-task';
|
|
17
18
|
import '../../../cache/base.cjs';
|
|
18
19
|
import '../../../backend/constants.cjs';
|
|
@@ -22,7 +23,6 @@ import '../../../internals/helpers/schema.cjs';
|
|
|
22
23
|
import 'zod';
|
|
23
24
|
import 'zod-to-json-schema';
|
|
24
25
|
import '../../../template.cjs';
|
|
25
|
-
import '../../../backend/client.cjs';
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { VercelChatModel } from '../../vercel/backend/chat.js';
|
|
2
2
|
import { AnthropicClientSettings, AnthropicClient } from './client.js';
|
|
3
3
|
import { AnthropicProvider } from '@ai-sdk/anthropic';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-D8SVtw5Q.js';
|
|
5
5
|
import '../../../logger/logger.js';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.js';
|
|
8
8
|
import '../../../internals/types.js';
|
|
9
9
|
import '../../../internals/helpers/guards.js';
|
|
10
10
|
import '../../../internals/serializable.js';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-36-9MnvA.js';
|
|
13
|
-
import '../../../backend/message.js';
|
|
14
11
|
import '../../../context.js';
|
|
12
|
+
import '../../../emitter-36-9MnvA.js';
|
|
15
13
|
import '../../../internals/helpers/promise.js';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.js';
|
|
16
|
+
import '../../../backend/client.js';
|
|
16
17
|
import 'promise-based-task';
|
|
17
18
|
import '../../../cache/base.js';
|
|
18
19
|
import '../../../backend/constants.js';
|
|
@@ -22,7 +23,6 @@ import '../../../internals/helpers/schema.js';
|
|
|
22
23
|
import 'zod';
|
|
23
24
|
import 'zod-to-json-schema';
|
|
24
25
|
import '../../../template.js';
|
|
25
|
-
import '../../../backend/client.js';
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
@@ -9,7 +9,7 @@ import '../../../internals/helpers/guards.cjs';
|
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
10
10
|
import '../../../internals/helpers/promise.cjs';
|
|
11
11
|
import '../../../errors.cjs';
|
|
12
|
-
import '../../../chat-
|
|
12
|
+
import '../../../chat-CC0s8z23.cjs';
|
|
13
13
|
import '../../../backend/message.cjs';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -9,7 +9,7 @@ import '../../../internals/helpers/guards.js';
|
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
10
10
|
import '../../../internals/helpers/promise.js';
|
|
11
11
|
import '../../../errors.js';
|
|
12
|
-
import '../../../chat-
|
|
12
|
+
import '../../../chat-D8SVtw5Q.js';
|
|
13
13
|
import '../../../backend/message.js';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { VercelChatModel } from '../../vercel/backend/chat.cjs';
|
|
2
2
|
import { AzureOpenAIProvider, AzureOpenAIProviderSettings } from '@ai-sdk/azure';
|
|
3
3
|
import { AzureOpenAIClient } from './client.cjs';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-CC0s8z23.cjs';
|
|
5
5
|
import '../../../logger/logger.cjs';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.cjs';
|
|
8
8
|
import '../../../internals/types.cjs';
|
|
9
9
|
import '../../../internals/helpers/guards.cjs';
|
|
10
10
|
import '../../../internals/serializable.cjs';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-jN55XZZq.cjs';
|
|
13
|
-
import '../../../backend/message.cjs';
|
|
14
11
|
import '../../../context.cjs';
|
|
12
|
+
import '../../../emitter-jN55XZZq.cjs';
|
|
15
13
|
import '../../../internals/helpers/promise.cjs';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.cjs';
|
|
16
16
|
import 'promise-based-task';
|
|
17
17
|
import '../../../cache/base.cjs';
|
|
18
18
|
import '../../../backend/constants.cjs';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { VercelChatModel } from '../../vercel/backend/chat.js';
|
|
2
2
|
import { AzureOpenAIProvider, AzureOpenAIProviderSettings } from '@ai-sdk/azure';
|
|
3
3
|
import { AzureOpenAIClient } from './client.js';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-D8SVtw5Q.js';
|
|
5
5
|
import '../../../logger/logger.js';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.js';
|
|
8
8
|
import '../../../internals/types.js';
|
|
9
9
|
import '../../../internals/helpers/guards.js';
|
|
10
10
|
import '../../../internals/serializable.js';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-36-9MnvA.js';
|
|
13
|
-
import '../../../backend/message.js';
|
|
14
11
|
import '../../../context.js';
|
|
12
|
+
import '../../../emitter-36-9MnvA.js';
|
|
15
13
|
import '../../../internals/helpers/promise.js';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.js';
|
|
16
16
|
import 'promise-based-task';
|
|
17
17
|
import '../../../cache/base.js';
|
|
18
18
|
import '../../../backend/constants.js';
|
|
@@ -9,7 +9,7 @@ import '../../../internals/helpers/guards.cjs';
|
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
10
10
|
import '../../../internals/helpers/promise.cjs';
|
|
11
11
|
import '../../../errors.cjs';
|
|
12
|
-
import '../../../chat-
|
|
12
|
+
import '../../../chat-CC0s8z23.cjs';
|
|
13
13
|
import '../../../backend/message.cjs';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -9,7 +9,7 @@ import '../../../internals/helpers/guards.js';
|
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
10
10
|
import '../../../internals/helpers/promise.js';
|
|
11
11
|
import '../../../errors.js';
|
|
12
|
-
import '../../../chat-
|
|
12
|
+
import '../../../chat-D8SVtw5Q.js';
|
|
13
13
|
import '../../../backend/message.js';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Logger } from '../../../logger/logger.cjs';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { GetRunContext, MiddlewareType } from '../../../context.cjs';
|
|
3
|
+
import { m as ChatModel, C as ChatModelParameters, g as ChatModelEvents, d as ChatModelInput, n as ChatModelOutput, i as ChatModelCache, l as ChatModelToolChoiceSupport } from '../../../chat-CC0s8z23.cjs';
|
|
4
4
|
import { E as Emitter } from '../../../emitter-jN55XZZq.cjs';
|
|
5
5
|
import 'pino';
|
|
6
6
|
import '../../../errors.cjs';
|
|
7
7
|
import '../../../internals/types.cjs';
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
10
|
+
import '../../../internals/helpers/promise.cjs';
|
|
10
11
|
import '../../../backend/message.cjs';
|
|
11
12
|
import 'ai';
|
|
12
13
|
import 'promise-based-task';
|
|
@@ -17,7 +18,6 @@ import 'ajv';
|
|
|
17
18
|
import '../../../internals/helpers/schema.cjs';
|
|
18
19
|
import 'zod';
|
|
19
20
|
import 'zod-to-json-schema';
|
|
20
|
-
import '../../../internals/helpers/promise.cjs';
|
|
21
21
|
import '../../../template.cjs';
|
|
22
22
|
|
|
23
23
|
declare class DummyChatModel extends ChatModel {
|
|
@@ -32,6 +32,7 @@ declare class DummyChatModel extends ChatModel {
|
|
|
32
32
|
modelId: string;
|
|
33
33
|
cache: ChatModelCache;
|
|
34
34
|
emitter: Emitter<ChatModelEvents>;
|
|
35
|
+
middlewares: MiddlewareType<any>[];
|
|
35
36
|
parameters: ChatModelParameters;
|
|
36
37
|
logger: Logger;
|
|
37
38
|
toolChoiceSupport: ChatModelToolChoiceSupport[];
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Logger } from '../../../logger/logger.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { GetRunContext, MiddlewareType } from '../../../context.js';
|
|
3
|
+
import { m as ChatModel, C as ChatModelParameters, g as ChatModelEvents, d as ChatModelInput, n as ChatModelOutput, i as ChatModelCache, l as ChatModelToolChoiceSupport } from '../../../chat-D8SVtw5Q.js';
|
|
4
4
|
import { E as Emitter } from '../../../emitter-36-9MnvA.js';
|
|
5
5
|
import 'pino';
|
|
6
6
|
import '../../../errors.js';
|
|
7
7
|
import '../../../internals/types.js';
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
10
|
+
import '../../../internals/helpers/promise.js';
|
|
10
11
|
import '../../../backend/message.js';
|
|
11
12
|
import 'ai';
|
|
12
13
|
import 'promise-based-task';
|
|
@@ -17,7 +18,6 @@ import 'ajv';
|
|
|
17
18
|
import '../../../internals/helpers/schema.js';
|
|
18
19
|
import 'zod';
|
|
19
20
|
import 'zod-to-json-schema';
|
|
20
|
-
import '../../../internals/helpers/promise.js';
|
|
21
21
|
import '../../../template.js';
|
|
22
22
|
|
|
23
23
|
declare class DummyChatModel extends ChatModel {
|
|
@@ -32,6 +32,7 @@ declare class DummyChatModel extends ChatModel {
|
|
|
32
32
|
modelId: string;
|
|
33
33
|
cache: ChatModelCache;
|
|
34
34
|
emitter: Emitter<ChatModelEvents>;
|
|
35
|
+
middlewares: MiddlewareType<any>[];
|
|
35
36
|
parameters: ChatModelParameters;
|
|
36
37
|
logger: Logger;
|
|
37
38
|
toolChoiceSupport: ChatModelToolChoiceSupport[];
|
|
@@ -6,7 +6,7 @@ import '../../../internals/types.cjs';
|
|
|
6
6
|
import '../../../internals/helpers/guards.cjs';
|
|
7
7
|
import '../../../internals/helpers/promise.cjs';
|
|
8
8
|
import '../../../errors.cjs';
|
|
9
|
-
import '../../../chat-
|
|
9
|
+
import '../../../chat-CC0s8z23.cjs';
|
|
10
10
|
import '../../../backend/message.cjs';
|
|
11
11
|
import 'ai';
|
|
12
12
|
import 'promise-based-task';
|
|
@@ -6,7 +6,7 @@ import '../../../internals/types.js';
|
|
|
6
6
|
import '../../../internals/helpers/guards.js';
|
|
7
7
|
import '../../../internals/helpers/promise.js';
|
|
8
8
|
import '../../../errors.js';
|
|
9
|
-
import '../../../chat-
|
|
9
|
+
import '../../../chat-D8SVtw5Q.js';
|
|
10
10
|
import '../../../backend/message.js';
|
|
11
11
|
import 'ai';
|
|
12
12
|
import 'promise-based-task';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { GoogleVertexProvider } from '@ai-sdk/google-vertex';
|
|
2
2
|
import { VercelChatModel } from '../../vercel/backend/chat.cjs';
|
|
3
3
|
import { GoogleVertexClientSettings, GoogleVertexClient } from './client.cjs';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-CC0s8z23.cjs';
|
|
5
5
|
import '../../../logger/logger.cjs';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.cjs';
|
|
8
8
|
import '../../../internals/types.cjs';
|
|
9
9
|
import '../../../internals/helpers/guards.cjs';
|
|
10
10
|
import '../../../internals/serializable.cjs';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-jN55XZZq.cjs';
|
|
13
|
-
import '../../../backend/message.cjs';
|
|
14
11
|
import '../../../context.cjs';
|
|
12
|
+
import '../../../emitter-jN55XZZq.cjs';
|
|
15
13
|
import '../../../internals/helpers/promise.cjs';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.cjs';
|
|
16
16
|
import 'promise-based-task';
|
|
17
17
|
import '../../../cache/base.cjs';
|
|
18
18
|
import '../../../backend/constants.cjs';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { GoogleVertexProvider } from '@ai-sdk/google-vertex';
|
|
2
2
|
import { VercelChatModel } from '../../vercel/backend/chat.js';
|
|
3
3
|
import { GoogleVertexClientSettings, GoogleVertexClient } from './client.js';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-D8SVtw5Q.js';
|
|
5
5
|
import '../../../logger/logger.js';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.js';
|
|
8
8
|
import '../../../internals/types.js';
|
|
9
9
|
import '../../../internals/helpers/guards.js';
|
|
10
10
|
import '../../../internals/serializable.js';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-36-9MnvA.js';
|
|
13
|
-
import '../../../backend/message.js';
|
|
14
11
|
import '../../../context.js';
|
|
12
|
+
import '../../../emitter-36-9MnvA.js';
|
|
15
13
|
import '../../../internals/helpers/promise.js';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.js';
|
|
16
16
|
import 'promise-based-task';
|
|
17
17
|
import '../../../cache/base.js';
|
|
18
18
|
import '../../../backend/constants.js';
|
|
@@ -10,7 +10,7 @@ import '../../../context.cjs';
|
|
|
10
10
|
import '../../../emitter-jN55XZZq.cjs';
|
|
11
11
|
import '../../../internals/helpers/promise.cjs';
|
|
12
12
|
import '../../../errors.cjs';
|
|
13
|
-
import '../../../chat-
|
|
13
|
+
import '../../../chat-CC0s8z23.cjs';
|
|
14
14
|
import '../../../backend/message.cjs';
|
|
15
15
|
import 'ai';
|
|
16
16
|
import 'promise-based-task';
|
|
@@ -10,7 +10,7 @@ import '../../../context.js';
|
|
|
10
10
|
import '../../../emitter-36-9MnvA.js';
|
|
11
11
|
import '../../../internals/helpers/promise.js';
|
|
12
12
|
import '../../../errors.js';
|
|
13
|
-
import '../../../chat-
|
|
13
|
+
import '../../../chat-D8SVtw5Q.js';
|
|
14
14
|
import '../../../backend/message.js';
|
|
15
15
|
import 'ai';
|
|
16
16
|
import 'promise-based-task';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { VercelChatModel } from '../../vercel/backend/chat.cjs';
|
|
2
2
|
import { GroqClientSettings, GroqClient } from './client.cjs';
|
|
3
3
|
import { GroqProvider } from '@ai-sdk/groq';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-CC0s8z23.cjs';
|
|
5
5
|
import '../../../logger/logger.cjs';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.cjs';
|
|
8
8
|
import '../../../internals/types.cjs';
|
|
9
9
|
import '../../../internals/helpers/guards.cjs';
|
|
10
10
|
import '../../../internals/serializable.cjs';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-jN55XZZq.cjs';
|
|
13
|
-
import '../../../backend/message.cjs';
|
|
14
11
|
import '../../../context.cjs';
|
|
12
|
+
import '../../../emitter-jN55XZZq.cjs';
|
|
15
13
|
import '../../../internals/helpers/promise.cjs';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.cjs';
|
|
16
16
|
import 'promise-based-task';
|
|
17
17
|
import '../../../cache/base.cjs';
|
|
18
18
|
import '../../../backend/constants.cjs';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { VercelChatModel } from '../../vercel/backend/chat.js';
|
|
2
2
|
import { GroqClientSettings, GroqClient } from './client.js';
|
|
3
3
|
import { GroqProvider } from '@ai-sdk/groq';
|
|
4
|
-
import { C as ChatModelParameters } from '../../../chat-
|
|
4
|
+
import { C as ChatModelParameters } from '../../../chat-D8SVtw5Q.js';
|
|
5
5
|
import '../../../logger/logger.js';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.js';
|
|
8
8
|
import '../../../internals/types.js';
|
|
9
9
|
import '../../../internals/helpers/guards.js';
|
|
10
10
|
import '../../../internals/serializable.js';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-36-9MnvA.js';
|
|
13
|
-
import '../../../backend/message.js';
|
|
14
11
|
import '../../../context.js';
|
|
12
|
+
import '../../../emitter-36-9MnvA.js';
|
|
15
13
|
import '../../../internals/helpers/promise.js';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.js';
|
|
16
16
|
import 'promise-based-task';
|
|
17
17
|
import '../../../cache/base.js';
|
|
18
18
|
import '../../../backend/constants.js';
|
|
@@ -9,7 +9,7 @@ import '../../../internals/helpers/guards.cjs';
|
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
10
10
|
import '../../../internals/helpers/promise.cjs';
|
|
11
11
|
import '../../../errors.cjs';
|
|
12
|
-
import '../../../chat-
|
|
12
|
+
import '../../../chat-CC0s8z23.cjs';
|
|
13
13
|
import '../../../backend/message.cjs';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -9,7 +9,7 @@ import '../../../internals/helpers/guards.js';
|
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
10
10
|
import '../../../internals/helpers/promise.js';
|
|
11
11
|
import '../../../errors.js';
|
|
12
|
-
import '../../../chat-
|
|
12
|
+
import '../../../chat-D8SVtw5Q.js';
|
|
13
13
|
import '../../../backend/message.js';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Logger } from '../../../logger/logger.cjs';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { RunContext, MiddlewareType } from '../../../context.cjs';
|
|
3
|
+
import { m as ChatModel, C as ChatModelParameters, h as ChatModelEmitter, d as ChatModelInput, n as ChatModelOutput, a as ChatModelObjectInput, b as ChatModelObjectOutput, i as ChatModelCache, l as ChatModelToolChoiceSupport } from '../../../chat-CC0s8z23.cjs';
|
|
4
4
|
import { BaseChatModel, BaseChatModelCallOptions } from '@langchain/core/language_models/chat_models';
|
|
5
5
|
import { BaseMessageLike, AIMessageChunk } from '@langchain/core/messages';
|
|
6
6
|
import 'pino';
|
|
@@ -8,9 +8,10 @@ import '../../../errors.cjs';
|
|
|
8
8
|
import '../../../internals/types.cjs';
|
|
9
9
|
import '../../../internals/helpers/guards.cjs';
|
|
10
10
|
import '../../../internals/serializable.cjs';
|
|
11
|
+
import '../../../emitter-jN55XZZq.cjs';
|
|
12
|
+
import '../../../internals/helpers/promise.cjs';
|
|
11
13
|
import '../../../backend/message.cjs';
|
|
12
14
|
import 'ai';
|
|
13
|
-
import '../../../emitter-jN55XZZq.cjs';
|
|
14
15
|
import 'promise-based-task';
|
|
15
16
|
import '../../../cache/base.cjs';
|
|
16
17
|
import '../../../backend/constants.cjs';
|
|
@@ -19,7 +20,6 @@ import 'ajv';
|
|
|
19
20
|
import '../../../internals/helpers/schema.cjs';
|
|
20
21
|
import 'zod';
|
|
21
22
|
import 'zod-to-json-schema';
|
|
22
|
-
import '../../../internals/helpers/promise.cjs';
|
|
23
23
|
import '../../../template.cjs';
|
|
24
24
|
|
|
25
25
|
declare class LangChainChatModel extends ChatModel {
|
|
@@ -41,6 +41,7 @@ declare class LangChainChatModel extends ChatModel {
|
|
|
41
41
|
emitter: ChatModelEmitter;
|
|
42
42
|
lcLLM: BaseChatModel<BaseChatModelCallOptions, AIMessageChunk>;
|
|
43
43
|
cache: ChatModelCache;
|
|
44
|
+
middlewares: MiddlewareType<any>[];
|
|
44
45
|
parameters: ChatModelParameters;
|
|
45
46
|
logger: Logger;
|
|
46
47
|
toolChoiceSupport: ChatModelToolChoiceSupport[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Logger } from '../../../logger/logger.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { RunContext, MiddlewareType } from '../../../context.js';
|
|
3
|
+
import { m as ChatModel, C as ChatModelParameters, h as ChatModelEmitter, d as ChatModelInput, n as ChatModelOutput, a as ChatModelObjectInput, b as ChatModelObjectOutput, i as ChatModelCache, l as ChatModelToolChoiceSupport } from '../../../chat-D8SVtw5Q.js';
|
|
4
4
|
import { BaseChatModel, BaseChatModelCallOptions } from '@langchain/core/language_models/chat_models';
|
|
5
5
|
import { BaseMessageLike, AIMessageChunk } from '@langchain/core/messages';
|
|
6
6
|
import 'pino';
|
|
@@ -8,9 +8,10 @@ import '../../../errors.js';
|
|
|
8
8
|
import '../../../internals/types.js';
|
|
9
9
|
import '../../../internals/helpers/guards.js';
|
|
10
10
|
import '../../../internals/serializable.js';
|
|
11
|
+
import '../../../emitter-36-9MnvA.js';
|
|
12
|
+
import '../../../internals/helpers/promise.js';
|
|
11
13
|
import '../../../backend/message.js';
|
|
12
14
|
import 'ai';
|
|
13
|
-
import '../../../emitter-36-9MnvA.js';
|
|
14
15
|
import 'promise-based-task';
|
|
15
16
|
import '../../../cache/base.js';
|
|
16
17
|
import '../../../backend/constants.js';
|
|
@@ -19,7 +20,6 @@ import 'ajv';
|
|
|
19
20
|
import '../../../internals/helpers/schema.js';
|
|
20
21
|
import 'zod';
|
|
21
22
|
import 'zod-to-json-schema';
|
|
22
|
-
import '../../../internals/helpers/promise.js';
|
|
23
23
|
import '../../../template.js';
|
|
24
24
|
|
|
25
25
|
declare class LangChainChatModel extends ChatModel {
|
|
@@ -41,6 +41,7 @@ declare class LangChainChatModel extends ChatModel {
|
|
|
41
41
|
emitter: ChatModelEmitter;
|
|
42
42
|
lcLLM: BaseChatModel<BaseChatModelCallOptions, AIMessageChunk>;
|
|
43
43
|
cache: ChatModelCache;
|
|
44
|
+
middlewares: MiddlewareType<any>[];
|
|
44
45
|
parameters: ChatModelParameters;
|
|
45
46
|
logger: Logger;
|
|
46
47
|
toolChoiceSupport: ChatModelToolChoiceSupport[];
|
|
@@ -6,7 +6,7 @@ import '../../../internals/serializable.cjs';
|
|
|
6
6
|
import '../../../internals/types.cjs';
|
|
7
7
|
import '../../../internals/helpers/guards.cjs';
|
|
8
8
|
import '../../../errors.cjs';
|
|
9
|
-
import '../../../chat-
|
|
9
|
+
import '../../../chat-CC0s8z23.cjs';
|
|
10
10
|
import '../../../backend/message.cjs';
|
|
11
11
|
import 'ai';
|
|
12
12
|
import 'promise-based-task';
|
|
@@ -6,7 +6,7 @@ import '../../../internals/serializable.js';
|
|
|
6
6
|
import '../../../internals/types.js';
|
|
7
7
|
import '../../../internals/helpers/guards.js';
|
|
8
8
|
import '../../../errors.js';
|
|
9
|
-
import '../../../chat-
|
|
9
|
+
import '../../../chat-D8SVtw5Q.js';
|
|
10
10
|
import '../../../backend/message.js';
|
|
11
11
|
import 'ai';
|
|
12
12
|
import 'promise-based-task';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { VercelChatModel } from '../../vercel/backend/chat.cjs';
|
|
2
2
|
import { OllamaProvider } from 'ollama-ai-provider-v2';
|
|
3
3
|
import { OllamaClient, OllamaClientSettings } from './client.cjs';
|
|
4
|
-
import { l as ChatModelToolChoiceSupport } from '../../../chat-
|
|
4
|
+
import { l as ChatModelToolChoiceSupport } from '../../../chat-CC0s8z23.cjs';
|
|
5
5
|
import '../../../logger/logger.cjs';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.cjs';
|
|
8
8
|
import '../../../internals/types.cjs';
|
|
9
9
|
import '../../../internals/helpers/guards.cjs';
|
|
10
10
|
import '../../../internals/serializable.cjs';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-jN55XZZq.cjs';
|
|
13
|
-
import '../../../backend/message.cjs';
|
|
14
11
|
import '../../../context.cjs';
|
|
12
|
+
import '../../../emitter-jN55XZZq.cjs';
|
|
15
13
|
import '../../../internals/helpers/promise.cjs';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.cjs';
|
|
16
16
|
import 'promise-based-task';
|
|
17
17
|
import '../../../cache/base.cjs';
|
|
18
18
|
import '../../../backend/constants.cjs';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { VercelChatModel } from '../../vercel/backend/chat.js';
|
|
2
2
|
import { OllamaProvider } from 'ollama-ai-provider-v2';
|
|
3
3
|
import { OllamaClient, OllamaClientSettings } from './client.js';
|
|
4
|
-
import { l as ChatModelToolChoiceSupport } from '../../../chat-
|
|
4
|
+
import { l as ChatModelToolChoiceSupport } from '../../../chat-D8SVtw5Q.js';
|
|
5
5
|
import '../../../logger/logger.js';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '../../../errors.js';
|
|
8
8
|
import '../../../internals/types.js';
|
|
9
9
|
import '../../../internals/helpers/guards.js';
|
|
10
10
|
import '../../../internals/serializable.js';
|
|
11
|
-
import 'ai';
|
|
12
|
-
import '../../../emitter-36-9MnvA.js';
|
|
13
|
-
import '../../../backend/message.js';
|
|
14
11
|
import '../../../context.js';
|
|
12
|
+
import '../../../emitter-36-9MnvA.js';
|
|
15
13
|
import '../../../internals/helpers/promise.js';
|
|
14
|
+
import 'ai';
|
|
15
|
+
import '../../../backend/message.js';
|
|
16
16
|
import 'promise-based-task';
|
|
17
17
|
import '../../../cache/base.js';
|
|
18
18
|
import '../../../backend/constants.js';
|
|
@@ -10,7 +10,7 @@ import '../../../context.cjs';
|
|
|
10
10
|
import '../../../emitter-jN55XZZq.cjs';
|
|
11
11
|
import '../../../internals/helpers/promise.cjs';
|
|
12
12
|
import '../../../errors.cjs';
|
|
13
|
-
import '../../../chat-
|
|
13
|
+
import '../../../chat-CC0s8z23.cjs';
|
|
14
14
|
import '../../../backend/message.cjs';
|
|
15
15
|
import 'ai';
|
|
16
16
|
import 'promise-based-task';
|