ms-agent icon indicating copy to clipboard operation
ms-agent copied to clipboard

MS-Agent: Lightweight Framework for Empowering Agents with Autonomous Exploration in Complex Task Scenarios

Results 104 ms-agent issues
Sort by recently updated
recently updated
newest added

### Initial Checks - [X] I have searched Google & GitHub for similar requests and couldn't find anything - [X] I have read and followed [the docs & demos](https://github.com/modelscope/modelscope-agent/tree/master/demo) and...

enhancement
tool
framework

### Initial Checks - [X] I have searched Google & GitHub for similar requests and couldn't find anything - [X] I have read and followed [the docs & demos](https://github.com/modelscope/modelscope-agent/tree/master/demo) and...

enhancement
service

### Description 用Roleplay类来进行在使用自定义工具的调用的时候,出现了模型输出本应该停止,但是却不断再输出,进入死循环,次数达到最大上限时才会退出。 比如我的自定义了预定会议室的工具,结果已经返回预定成功,但是还是answer还是缺少必要的信息。然后不断的调用工具,不断的返回错误的answer。 {'result': '会议室预定成功'}\nAnswer:很抱歉,由于缺少必要的时间及人数信息,无法完成会议室预定。请提供完整信息。请问如何避免这种问题? 完整的info 如下: {"timestamp": "2024-03-13 12:10:44", "level": "INFO", "message": "call dashscope generation api", "uuid": "", "details": {"model": "qwen-max", "messages": [{"role": "user", "content": "system\n\n# 工具\n\n## 你拥有如下工具:\n\nRenewInstance:...

tool
agent & prompt

代码是master分支最新版本,同样的操作在mac系统上时没有报错,如下是错误详情: C:\Users\Administrator\AppData\Local\Programs\Python\Python311\python.exe D:\Models\modelscope-agent\apps\agentfabric\app.py 2024-01-02 15:22:03,487 - modelscope - INFO - PyTorch version 2.1.1+cu121 Found. 2024-01-02 15:22:03,488 - modelscope - INFO - Loading ast index from D:\Models\modelscope\ast_indexer 2024-01-02 15:22:03,737 - modelscope...

enhancement
tool
envrionment

ImportError: cannot import name 'LLMFactory' from 'modelscope_agent.llm' (/mnt/workspace/modelscope-agent/modelscope_agent/llm/__init__.py)

bug
llm

When I click regenerate button, I got ***NameError: name 'history' is not defined*** Is it normal to not define the history variable in advance? How can I solve my problem?...

enhancement

使用的是anaconda的虚拟环境,pythonpath环境变量也添加了modelscopeagent的路径 ![QQ截图20240225162303](https://github.com/modelscope/modelscope-agent/assets/101250945/4ca34d3e-6f62-4311-a59f-0ca3cc55f876)

envrionment

codes: ``` @register_tool('RenewInstance') class AliyunRenewInstanceTool(BaseTool): description = '续费一台包年包月ECS实例' name = 'RenewInstance' parameters: list = [{ 'name': 'instance_id', 'description': 'ECS实例ID', 'required': True, 'type': 'string' }, { 'name': 'period', 'description': '续费时长以月为单位', 'required':...

llm

``` To create a public link, set `share=True` in `launch()`. Traceback (most recent call last): File "/opt/conda/envs/msagent/lib/python3.10/site-packages/gradio/queueing.py", line 495, in call_prediction output = await route_utils.call_process_api( File "/opt/conda/envs/msagent/lib/python3.10/site-packages/gradio/route_utils.py", line 235, in...

agentfabric