chore: flatten tool calling, prep for timeout handling (#205)
This commit is contained in:
parent
cea347d067
commit
7e4a964b0a
16 changed files with 484 additions and 336 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue