Skip to content

Commit d902ca1

Browse files
committed
sdk: add promptAiSdkStructured to impl
1 parent ed69ec4 commit d902ca1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sdk/src/impl/agent-runtime.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
getUserInfoFromApiKey,
99
startAgentRun,
1010
} from './database'
11-
import { promptAiSdk, promptAiSdkStream } from './llm'
11+
import { promptAiSdk, promptAiSdkStream, promptAiSdkStructured } from './llm'
1212

1313
import type {
1414
AgentRuntimeDeps,
@@ -21,7 +21,6 @@ export function getAgentRuntimeImpl(params: {
2121
apiKey: string
2222
}): Omit<
2323
AgentRuntimeDeps & AgentRuntimeScopedDeps,
24-
| 'promptAiSdkStructured'
2524
| 'handleStepsLogChunk'
2625
| 'requestToolCall'
2726
| 'requestMcpToolData'
@@ -49,7 +48,7 @@ export function getAgentRuntimeImpl(params: {
4948
// LLM
5049
promptAiSdkStream,
5150
promptAiSdk,
52-
// promptAiSdkStructured: PromptAiSdkStructuredFn,
51+
promptAiSdkStructured,
5352

5453
// Mutable State
5554
databaseAgentCache: new Map(),

0 commit comments

Comments
 (0)