feat: enable MCP to models without function calling (same as #1978, fix for a clear git history)
Description
Enable MCP to models without function calling, from #1978.
This is behind the branch 9d15abb
You mean commit 9d15abb are left? I will cherry-pick it. Please follow this branch, not the other one, since the commit history is messed in the other. Thanks!
This is behind the branch 9d15abb
You mean commit 9d15abb are left? I will cherry-pick it. Please follow this branch, not the other one, since the commit history is messed in the other. Thanks!
Actually, 9d15abb is the commit introducing too many changes does not belong to this feature branch. Is there any actual functionality related in this commit? If so, please help identify and add it. Otherwise, we can just stay with the current functionality for now. What do you think? Thanks!
Should we keep the interface to the same as ChatAgent?