SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
68d7816 verified
Raw History Blame Contribute Delete
692 Bytes
import { type FlagDefinitionInput, registerFlagDefinition } from '#/app/flag/flagRegistry';
export const TOOL_SELECT_FLAG_ID = 'tool-select';
export const TOOL_SELECT_FLAG_ENV = 'KIMI_CODE_EXPERIMENTAL_TOOL_SELECT';
export const toolSelectFlag: FlagDefinitionInput = {
id: TOOL_SELECT_FLAG_ID,
title: 'Tool select (progressive tool disclosure)',
description:
'Keep MCP tool schemas out of the immutable top-level tools[]; the model loads them on demand via the select_tools tool. Only takes effect on models whose capability catalog declares dynamically loaded tools.',
env: TOOL_SELECT_FLAG_ENV,
default: false,
surface: 'core',
};
registerFlagDefinition(toolSelectFlag);