Skip to content

✨ feat: improve error handling for duplicate tools#1395

Merged
pelikhan merged 1 commit intomainfrom
dual-tool
Mar 27, 2025
Merged

✨ feat: improve error handling for duplicate tools#1395
pelikhan merged 1 commit intomainfrom
dual-tool

Conversation

@pelikhan
Copy link
Copy Markdown
Member

@pelikhan pelikhan commented Mar 27, 2025

fix for #1359


  • In chat.ts, an error is now thrown when duplicate tools are detected during a chat session
  • The message logs show an error related to potential conflicts when using similar tool names
  • In duplicate-tools.genai.mjs, re-defining functions like $ is discouraged as it might create conflicts or unintended behavior in the system

AI-generated content by pr-describe may be incorrect

Added structured error handling for duplicate tools in chat sessions.
@pelikhan pelikhan merged commit ad13b42 into main Mar 27, 2025
15 checks passed
@pelikhan pelikhan deleted the dual-tool branch March 27, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant