diff --git a/docs/tool-catalog.i18n.yaml b/docs/tool-catalog.i18n.yaml index 094d83b58f..9aa2023296 100644 --- a/docs/tool-catalog.i18n.yaml +++ b/docs/tool-catalog.i18n.yaml @@ -9,8 +9,8 @@ en: 6cc2cd9ced70bb09 zh: 1c0e6cb4ba2ed637 /tool-schema-catalog/tool-package-map: - en: 72e2a375567f5850 - zh: b51b8ea5b52814fd + en: 167287d095eee2f5 + zh: 18720d5e81379d2f /tool-schema-catalog/deepseek-ai-dsh-plugin-manager: en: e0143916bb634762 zh: e0143916bb634762 @@ -54,8 +54,8 @@ en: e713a4a11a15d13c zh: e713a4a11a15d13c /tool-schema-catalog/deepseek-ai-dsh-tool-ask-user/ask-user-question: - en: f42b7f17ad59577a - zh: 7e1eee22ff35d4b1 + en: 055268ba4dcd32f9 + zh: a1a3c4bfcbf698ed /tool-schema-catalog/deepseek-ai-dsh-tools: en: 76fbbf0fe38aef10 zh: 76fbbf0fe38aef10 diff --git a/packages/interaction/tool-ask-user/src/legacy.ts b/packages/interaction/tool-ask-user/src/legacy.ts index a7da610f33..f8616700d3 100644 --- a/packages/interaction/tool-ask-user/src/legacy.ts +++ b/packages/interaction/tool-ask-user/src/legacy.ts @@ -8,8 +8,7 @@ import type { Context } from '@deepseek-ai/cordis' import { defineTool } from '@deepseek-ai/dsh-tools' -const description = 'Ask the user a concise question when you need confirmation, a choice, or missing information before proceeding. ' - + 'Send one or more questions, each with a stable id that will be echoed in the answer.' +const description = 'Ask the user a concise question when you need confirmation, a choice, or missing information before proceeding.' /** * Register the pre-timeout blocking tool definition selected by Cordis config. diff --git a/packages/interaction/tool-ask-user/tests/tool-ask-user.spec.ts b/packages/interaction/tool-ask-user/tests/tool-ask-user.spec.ts index ef2960374c..3691cf3843 100644 --- a/packages/interaction/tool-ask-user/tests/tool-ask-user.spec.ts +++ b/packages/interaction/tool-ask-user/tests/tool-ask-user.spec.ts @@ -213,7 +213,7 @@ describe('ask_user_question tool', () => { expect(schemas).toHaveLength(1) expect(schemas[0]).toMatchObject({ - description: 'Ask the user a concise question when you need confirmation, a choice, or missing information before proceeding. Send one or more questions, each with a stable id that will be echoed in the answer.', + description: 'Ask the user a concise question when you need confirmation, a choice, or missing information before proceeding.', parameters: { properties: { questions: { description: 'Questions to ask the user before continuing.' } } }, }) expect(schemas[0]?.parameters.properties).not.toHaveProperty('timeout')