We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed69ec4 commit d902ca1Copy full SHA for d902ca1
1 file changed
sdk/src/impl/agent-runtime.ts
@@ -8,7 +8,7 @@ import {
8
getUserInfoFromApiKey,
9
startAgentRun,
10
} from './database'
11
-import { promptAiSdk, promptAiSdkStream } from './llm'
+import { promptAiSdk, promptAiSdkStream, promptAiSdkStructured } from './llm'
12
13
import type {
14
AgentRuntimeDeps,
@@ -21,7 +21,6 @@ export function getAgentRuntimeImpl(params: {
21
apiKey: string
22
}): Omit<
23
AgentRuntimeDeps & AgentRuntimeScopedDeps,
24
- | 'promptAiSdkStructured'
25
| 'handleStepsLogChunk'
26
| 'requestToolCall'
27
| 'requestMcpToolData'
@@ -49,7 +48,7 @@ export function getAgentRuntimeImpl(params: {
49
48
// LLM
50
promptAiSdkStream,
51
promptAiSdk,
52
- // promptAiSdkStructured: PromptAiSdkStructuredFn,
+ promptAiSdkStructured,
53
54
// Mutable State
55
databaseAgentCache: new Map(),
0 commit comments