Skip to content

Commit

Permalink
Fix ITeamParams inputs type definition (#145)
Browse files Browse the repository at this point in the history
## Description

Updates the `ITeamParams` interface to support arrays and other
primitive types in the `inputs` field.

## Related Issues

Fixes #99  - "inputs type" issue reported by @zhaopengme

## Testing

- Verified that array inputs now work correctly
- Confirmed existing string inputs still function as expected
  • Loading branch information
darielnoel authored Nov 8, 2024
2 parents 0983a66 + 232505b commit 25a4c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export interface ITeamParams {
agents?: Agent[];
tasks?: Task[];
logLevel?: string;
inputs?: Record<string, string>;
inputs?: Record<string, any>;
env?: Record<string, any> | null;
}

Expand Down

0 comments on commit 25a4c78

Please sign in to comment.