chore: flatten tool calling, prep for timeout handling (#205)
This commit is contained in:
@@ -35,8 +35,10 @@ export type FileUploadModalState = {
|
||||
export type ModalState = FileUploadModalState;
|
||||
|
||||
export type ToolResult = {
|
||||
content: (ImageContent | TextContent)[];
|
||||
isError?: boolean;
|
||||
code: string[];
|
||||
action: () => Promise<{ content?: (ImageContent | TextContent)[] }>;
|
||||
captureSnapshot: boolean;
|
||||
waitForNetwork: boolean;
|
||||
};
|
||||
|
||||
export type Tool = {
|
||||
|
||||
Reference in New Issue
Block a user