feat:add zhipu_tookit
Description
ntegrate GLM-4-Assistant as a toolkit into CAMEL, introducing some tools that are not well-supported by the current CAMEL, such as drawing mind maps, creating PPTs, etc.
Current points that may need discussion are:
Whether to include the tool message from GLM-4-Assistant when calling tools in the returned results (currently included). The advantage is that users can more clearly understand what the agent has done, while the downside is that it may significantly lengthen the message.
Whether to introduce a multi-turn dialogue mode. During testing, it was observed that after some tools are executed, GLM-4-Assistant may provide additional options and ask which direction you'd like to improve in. Introducing this would require providing a conversation_id, similar to the PPT generation method.
Whether to introduce a method for autonomously selecting an assistant_id. The official documentation provides a query command, but unofficial services may be unstable.
reference:https://www.bigmodel.cn/dev/api/intelligent-agent-model/assistantapi fixed:https://github.com/camel-ai/camel/issues/2130
Checklist
Go over all the following points, and put an x in all the boxes that apply.
- [ ] I have read the CONTRIBUTION guide (required)
- [ ] I have linked this PR to an issue using the Development section on the right sidebar or by adding
Fixes #issue-numberin the PR description (required) - [ ] I have checked if any dependencies need to be added or updated in
pyproject.tomlanduv lock - [ ] I have updated the tests accordingly (required for a bug fix or a new feature)
- [ ] I have updated the documentation if needed:
- [ ] I have added examples if this is a new feature
If you are unsure about any of these, don't hesitate to ask. We are here to help!
Maybe the name of this tool can also be discussed hh
looks good
thanks @GitHoobar what do thinks about the discussion in description?