Skip to content

Commit 5c608e3

Browse files
json upload files
1 parent 81f64e0 commit 5c608e3

File tree

15 files changed

+604
-76
lines changed

15 files changed

+604
-76
lines changed

src/frontend/src/api/apiService.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
Step,
1010
StepStatus,
1111
AgentType,
12+
AgentTypeString,
1213
PlanMessage
1314
} from '../models';
1415

@@ -468,7 +469,7 @@ export class APIService {
468469
* @param agentType Agent type to filter by
469470
* @returns Array of steps for the specified agent
470471
*/
471-
getStepsForAgent(plan: PlanWithSteps, agentType: AgentType): Step[] {
472+
getStepsForAgent(plan: PlanWithSteps, agentType: AgentTypeString): Step[] {
472473
return plan.steps.filter(step => step.agent === agentType);
473474
}
474475

0 commit comments

Comments
 (0)