mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
feat: increase ask_user label limit to 16 characters (#18320)
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user