Skip to content

Commit 1c8b46f

Browse files
committed
Merge branch 'august/dev' into august/kinde
2 parents 5883235 + 4ccf3be commit 1c8b46f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/las-sdk-core/src/types/agentRun.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ export const AgentRunStatusValues = [
1212
] as const;
1313
export type AgentRunStatus = (typeof AgentRunStatusValues)[number];
1414

15+
export type AgentRunEvent = {
16+
resourceId: string;
17+
status: 'running' | 'pending' | 'ready' | 'succeeded' | 'failed';
18+
timestamp: string;
19+
errors?: string[] | null;
20+
warnings?: string[] | null;
21+
modelId?: string | null;
22+
validationId?: string | null;
23+
actionId?: string | null;
24+
}
25+
1526
export type AgentRun = {
1627
/* Id */
1728
id: string;
@@ -24,6 +35,7 @@ export type AgentRun = {
2435
metadata?: JSONObject | null;
2536
resourceIds: string[];
2637
status: AgentRunStatus;
38+
events: AgentRunEvent[];
2739
updatedBy?: string | null;
2840
updatedTime?: Date | null;
2941
};

0 commit comments

Comments
 (0)