You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -216,7 +229,7 @@ class CategorizerSummaryPrompt extends PromptElement<BasePromptElementProps & {
216
229
<SystemMessage>
217
230
Context: There are many tools available for a user. However, the number of tools can be large, and it is not always practical to present all of them at once. We need to create logical groups for the user to pick from at a glance.<br/>
218
231
<br/>
219
-
The user present you with the tools available to them, and you must group them into logical categories and provide a summary of each one. The summary should include the capabilities of the tools and when they should be used. Every tool MUST be a part of EXACTLY one category.<br/>
232
+
The user present you with the tools available to them, and you must group them into logical categories and provide a summary of each one. The summary should include the capabilities of the tools and when they should be used. Every tool MUST be a part of EXACTLY one category. Category names in your response MUST be unique—do not reuse the same name for different categories. If two categories would share a base name, append a short, descriptive suffix to disambiguate (e.g., python_tools_testing vs python_tools_packaging).<br/>
@@ -232,7 +245,7 @@ class CategorizerSummaryPrompt extends PromptElement<BasePromptElementProps & {
232
245
properties: {
233
246
name: {
234
247
type: 'string',
235
-
description: 'A shortname for the category. It may only contain the characters a-z, A-Z, 0-9, and underscores.',
248
+
description: 'A short, unique name for the category across this response. It may only contain the characters a-z, A-Z, 0-9, and underscores. If a potential collision exists, add a short suffix to keep names unique (e.g., _testing, _packaging).',
236
249
example: 'foo_language_tools'
237
250
},
238
251
tools: {
@@ -273,7 +286,7 @@ class ExistingGroupCategorizerPrompt extends PromptElement<BasePromptElementProp
273
286
<br/>
274
287
The user will provide you with the existing categories and their current tools, as well as the new tools that need to be categorized. You must assign each new tool to either an existing category (if it fits well) or create new categories as needed. You should also return all existing tools in their current categories unless there's a compelling reason to reorganize them.<br/>
275
288
<br/>
276
-
Every tool (both existing and new) MUST be part of EXACTLY one category in your response.<br/>
289
+
Every tool (both existing and new) MUST be part of EXACTLY one category in your response. Category names MUST be unique within the response. If a new category would conflict with an existing category name, choose a distinct, disambiguating name.<br/>
277
290
</SystemMessage>
278
291
<UserMessage>
279
292
**Existing Categories:**<br/>
@@ -300,7 +313,7 @@ class ExistingGroupCategorizerPrompt extends PromptElement<BasePromptElementProp
300
313
properties: {
301
314
name: {
302
315
type: 'string',
303
-
description: 'A shortname for the category. It may only contain the characters a-z, A-Z, 0-9, and underscores.',
316
+
description: 'A short, unique name for the category across this response. It may only contain the characters a-z, A-Z, 0-9, and underscores. Do not reuse names; add a short suffix if needed to avoid collisions.',
0 commit comments