Remove duplicate TODO comment in chat_agent.py#5002
Summary
Remove duplicate TODO comment that was causing code redundancy.
Changes
- Removed duplicate "TODO: Handle tool calls" comment on line 1451
- Kept original TODO on line 1409 for proper issue tracking
Related Issue
Addresses #3002 - Clean CAMEL code base
@nitpicker55555 review
Hi @shudanluo , thanks for your contribution!
However, I noticed that this PR doesn't quite match what the issue is asking for. The issue is about removing outdated features that are no longer needed, but this PR seems to be adding a new LLM-supervised deduplication feature instead.
For cleaning up outdated features, we should be looking at removing things like:
- MarkItDownToolkit - already deprecated in favor of FileToolkit
- FileWriteToolkit - deprecated alias for FileToolkit
- Deprecated math toolkit aliases (add, sub, multiply, divide, round)
- Deprecated GitHub toolkit methods (old naming without github_ prefix)
- Deprecated search method (tavily_search → search_tavily)
These are all marked with deprecation warnings and have clear migration paths, making them perfect candidates for removal.
Hi @Wendong-Fan are the deprecated items listed above what you meant by "features that we no longer need"?
Hey @shudanluo
Thanks again for contributing to this PR, would love to hear about how progress has been coming along and whether we can help in any way!