Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/tools/ask-user.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('AskUserTool', () => {
const result = tool.validateToolParams({
questions: [{ question: 'Test?', header: 'This is way too long' }],
});
expect(result).toContain('must NOT have more than 12 characters');
expect(result).toContain('must NOT have more than 16 characters');
});

it('should return error if options has fewer than 2 items', () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/tools/ask-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ export class AskUserTool extends BaseDeclarativeTool<
},
header: {
type: 'string',
maxLength: 12,
maxLength: 16,
description:
'Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".',
'Very short label displayed as a chip/tag (max 16 chars). Examples: "Auth method", "Library", "Approach".',
},
type: {
type: 'string',
Expand Down
Loading