Use actions api for new tasks (#1027)

This commit is contained in:
Shuchang Zheng
2024-10-22 11:50:21 -07:00
committed by GitHub
parent da92ccdc9f
commit d6fd4f8923
3 changed files with 161 additions and 51 deletions

View File

@@ -276,3 +276,17 @@ export type TaskGenerationApiResponse = {
navigation_payload: Record<string, unknown> | null;
extracted_information_schema: Record<string, unknown> | null;
};
export type ActionsApiResponse = {
action_type: ActionType;
status: Status;
task_id: string | null;
step_id: string | null;
step_order: number | null;
action_order: number | null;
confidence_float: number | null;
description: string | null;
reasoning: string | null;
intention: string | null;
response: string | null;
};