Add: requirements.txt for functionality samples#71
Open
InJunee wants to merge 3 commits intoagentscope-ai:mainfrom
Open
Add: requirements.txt for functionality samples#71InJunee wants to merge 3 commits intoagentscope-ai:mainfrom
InJunee wants to merge 3 commits intoagentscope-ai:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 PR Type
📚 Description
本次 PR 添加了三个新的示例到
functionality/目录,展示了如何使用 AgentScope 创建不同类型的工具类智能助手:functionality/calculator_assistant/- 计算器助手示例functionality/code_review_assistant/- 代码审查助手示例view_text_file和execute_python_code工具functionality/file_operations_assistant/- 文件操作助手示例execute_shell_command、execute_python_code和view_text_file工具所有示例都遵循了项目规范:
README.md文档(中文)requirements.txt文件functionality/目录下,符合项目目录结构规范🧪 Testing Validation
1. 如何运行新增的示例?
每个示例都可以独立运行:
前置要求:
DASHSCOPE_API_KEY2. 是否需要与
agentscope进行集成测试?这些示例是独立的示例代码,展示了 AgentScope 的基本功能。运行示例时需要:
agentscope[full]>=1.0.53. 代码是否已格式化?
✅ 已完成:已运行
pre-commit run --all-files,所有检查均通过:✅ Checklist
pre-commit run --all-filespytest tests/)agentscopebest practices (e.g., config management, logging)agentscope-sampleshas been updated (e.g.,README.md)