Skip to content

Commit ec84aab

Browse files
committed
AgentDefinition: Update toolResult type for handleSteps
1 parent 03a00ce commit ec84aab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/src/templates/initial-agents-dir/types/agent-definition.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616

1717
import type { Message } from './codebuff-message'
18+
import { ToolResultOutput } from './content-part'
1819
import type * as Tools from './tools'
1920
type ToolName = Tools.ToolName
2021

@@ -184,7 +185,7 @@ export interface AgentDefinition {
184185
void,
185186
{
186187
agentState: AgentState
187-
toolResult: string | undefined
188+
toolResult: ToolResultOutput[] | undefined
188189
stepsComplete: boolean
189190
}
190191
>

0 commit comments

Comments
 (0)