(input: {
readonly name: string;
readonly description?: string;
readonly whenToUse?: string;
readonly tools?: readonly string[];
})
| 892 | }); |
| 893 | |
| 894 | function profile(input: { |
| 895 | readonly name: string; |
| 896 | readonly description?: string; |
| 897 | readonly whenToUse?: string; |
| 898 | readonly tools?: readonly string[]; |
| 899 | }): ResolvedAgentProfile { |
| 900 | return { |
| 901 | name: input.name, |
| 902 | description: input.description, |
| 903 | whenToUse: input.whenToUse, |
| 904 | systemPrompt: () => `${input.name} prompt`, |
| 905 | tools: [...(input.tools ?? [])], |
| 906 | }; |
| 907 | } |