diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 000000000..06ab07569 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,102 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL Advanced" + +on: + push: + branches: [ "develop" ] + pull_request: + branches: [ "develop" ] + schedule: + - cron: '23 5 * * 2' + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + # Runner size impacts CodeQL analysis time. To learn more, please see: + # - https://gh.io/recommended-hardware-resources-for-running-codeql + # - https://gh.io/supported-runners-and-hardware-resources + # - https://gh.io/using-larger-runners (GitHub.com only) + # Consider using larger runners or machines with greater resources for possible analysis time improvements. + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} + permissions: + # required for all workflows + security-events: write + + # required to fetch internal or private CodeQL packs + packages: read + + # only required for workflows in private repositories + actions: read + contents: read + + strategy: + fail-fast: false + matrix: + include: + - language: actions + build-mode: none + - language: javascript-typescript + build-mode: none + - language: python + build-mode: none + # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift' + # Use `c-cpp` to analyze code written in C, C++ or both + # Use 'java-kotlin' to analyze code written in Java, Kotlin or both + # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both + # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, + # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. + # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how + # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + # Add any setup steps before running the `github/codeql-action/init` action. + # This includes steps like installing compilers or runtimes (`actions/setup-node` + # or others). This is typically only required for manual builds. + # - name: Setup runtime (example) + # uses: actions/setup-example@v1 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + # If the analyze step fails for one of the languages you are analyzing with + # "We were unable to automatically build your code", modify the matrix above + # to set the build mode to "manual" for that language. Then modify this step + # to build your code. + # ℹ️ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + - if: matrix.build-mode == 'manual' + shell: bash + run: | + echo 'If you are using a "manual" build mode for one or more of the' \ + 'languages you are analyzing, replace this with the commands to build' \ + 'your code, for example:' + echo ' make bootstrap' + echo ' make release' + exit 1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}" diff --git a/README.md b/README.md index a6dc838de..2a6371d4b 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,25 @@ ![Nexent Banner](./assets/NexentBanner.png) -[![English](https://img.shields.io/badge/English-README-blue)](README.md) -[![中文](https://img.shields.io/badge/中文-README-green)](README_CN.md) -[![Documentation](https://img.shields.io/badge/Documentation-yellow)](https://modelengine-group.github.io/nexent) -[![codecov](https://codecov.io/gh/ModelEngine-Group/nexent/branch/develop/graph/badge.svg?token=00JM5YAD5V)](https://codecov.io/gh/ModelEngine-Group/nexent?branch=develop) +[![Website](https://img.shields.io/badge/Website-blue?logo=icloud&logoColor=white)](https://nexent.tech) +[![English](https://img.shields.io/badge/English-README-blue?logo=github)](README.md) +[![中文](https://img.shields.io/badge/中文-README-green?logo=github)](README_CN.md) +[![Documentation](https://img.shields.io/badge/Documentation-CN/EN-red?logo=googledocs&logoColor=%23ECD53F)](https://modelengine-group.github.io/nexent) +[![Docker Pulls](https://img.shields.io/docker/pulls/nexent/nexent?logo=docker&label=DockerPull)](https://hub.docker.com/repositories/nexent) +[![Codecov (with branch)](https://img.shields.io/codecov/c/github/ModelEngine-Group/nexent/develop?logo=codecov&color=green)](https://codecov.io/gh/ModelEngine-Group/nexent) Nexent is a zero-code platform for auto-generating agents — no orchestration, no complex drag-and-drop required, using pure language to develop any agent you want. Built on the MCP ecosystem with rich tool integration, Nexent also provides various built-in agents to meet your intelligent service needs in different scenarios such as work, travel, and daily life. Nexent offers powerful capabilities for agent running control, multi-agent collaboration, data processing and knowledge tracing, multimodal dialogue, and batch scaling. > One prompt. Endless reach. -### 🌟 Try Nexent Now +### 🌐 Visit our [official website](https://nexent.tech/) -- 🌐 Visit our [official website](http://nexent.tech/) to learn more -- 🚀 [Try it now](http://nexent.tech/try) to experience the power of Nexent +![Nexent Banner](./assets/architecture_en.png) -https://github.com/user-attachments/assets/b844e05d-5277-4509-9463-1c5b3516f11e - -# 🤝 Join Our Community - -> *If you want to go fast, go alone; if you want to go far, go together.* - -We have released **Nexent v1**, and the platform is now relatively stable. However, there may still be some bugs, and we are continuously improving and adding new features. Stay tuned: we will announce **v2.0** soon! - -* **🗺️ Check our [Feature Map](https://github.com/orgs/ModelEngine-Group/projects/6)** to explore current and upcoming features. -* **🔍 Try the current build** and leave ideas or bugs in the [Issues](https://github.com/ModelEngine-Group/nexent/issues) tab. - -> *Rome wasn't built in a day.* - -If our vision speaks to you, jump in via the **[Contribution Guide](https://modelengine-group.github.io/nexent/en/contributing)** and shape Nexent with us. - -Early contributors won't go unnoticed: from special badges and swag to other tangible rewards, we're committed to thanking the pioneers who help bring Nexent to life. - -Most of all, we need visibility. Star ⭐ and watch the repo, share it with friends, and help more developers discover Nexent — your click brings new hands to the project and keeps the momentum growing. +https://github.com/user-attachments/assets/db6b7f5a-9ee8-4327-ae6f-c5af896126b4 # ⚡ Have a try first -### 1. 📋 Prerequisites +### 📋 Prerequisites | Resource | Minimum | |----------|---------| @@ -43,7 +27,7 @@ Most of all, we need visibility. Star ⭐ and watch the repo, share it with frie | **RAM** | 6 GiB | | **Software** | Docker & Docker Compose installed | -### 2. 🛠️ Quick start with Docker Compose +### 🛠️ Quick start with Docker Compose ```bash git clone https://github.com/ModelEngine-Group/nexent.git @@ -54,13 +38,29 @@ bash deploy.sh When the containers are running, open **http://localhost:3000** in your browser and follow the setup wizard. -# 🌱 MCP Tool Ecosystem +# 🤝 Join Our Community -Check our [MCP Ecosystem page](https://modelengine-group.github.io/nexent/en/mcp-ecosystem/overview.html) for detailed information about the MCP tool ecosystem, including community hubs, recommended tools, and integration guides. +> *If you want to go fast, go alone; if you want to go far, go together.* + +We have released **Nexent v1**, and the platform is now relatively stable. However, there may still be some bugs, and we are continuously improving and adding new features. Stay tuned: we will announce **v2.0** soon! + +* **🗺️ Check our [Feature Map](https://github.com/orgs/ModelEngine-Group/projects/6)** to explore current and upcoming features. +* **🔍 Try the current build** and leave ideas or bugs in the [Issues](https://github.com/ModelEngine-Group/nexent/issues) tab. +* **🐛 Check our [Known Issues page](https://github.com/orgs/ModelEngine-Group/projects/9)** for the latest issue status and solutions. + +> *Rome wasn't built in a day.* + +If our vision speaks to you, jump in via the **[Contribution Guide](https://modelengine-group.github.io/nexent/en/contributing)** and shape Nexent with us. + +Early contributors won't go unnoticed: from special badges and swag to other tangible rewards, we're committed to thanking the pioneers who help bring Nexent to life. + +Most of all, we need visibility. Star ⭐ and watch the repo, share it with friends, and help more developers discover Nexent — your click brings new hands to the project and keeps the momentum growing. -### 🚀 Suggested Agent Scenarios +## 💬 Community & contact -Check our [Agent Scenarios page](https://modelengine-group.github.io/nexent/en/mcp-ecosystem/use-cases.html) for detailed agent use cases and best practices, including travel planning, research assistant, business intelligence, smart lifestyle, and more scenarios. +- Browse the [Documentation](https://modelengine-group.github.io/nexent) for more information. +- Join our [Discord community](https://discord.gg/tb5H3S3wyv) to chat with other developers and get help! +- Conntact us by Wechat, find our QR Code in our [website](https://nexent.tech/en/contact) # ✨ Key Features @@ -99,6 +99,10 @@ Check our [Agent Scenarios page](https://modelengine-group.github.io/nexent/en/m ![Feature 7](./assets/Feature7.png) +# 🌱 MCP Tool Ecosystem + +Check our [MCP Ecosystem page](https://modelengine-group.github.io/nexent/en/mcp-ecosystem/overview.html) for detailed information about the MCP tool ecosystem, including community hubs, recommended tools, and integration guides. + # 🛠️ Developer Guide ### 🤖 Model Configuration & Provider Recommendations @@ -113,16 +117,6 @@ Want to build from source or add new features? Check the [Contribution Guide](ht Prefer to run Nexent from source code? Follow our [Developer Guide](https://modelengine-group.github.io/nexent/en/getting-started/development-guide) for detailed setup instructions and customization options. -# 🐛 Known Issues - -Check our [Known Issues page](https://modelengine-group.github.io/nexent/en/known-issues.html) for the latest issue status and solutions. - -# 💬 Community & contact - -- Browse the [FAQ](https://modelengine-group.github.io/nexent/en/faq) for common install issues. -- Join our [Discord community](https://discord.gg/tb5H3S3wyv) to chat with other developers and get help! -- File bugs or feature ideas in [GitHub Issues](https://github.com/ModelEngine-Group/nexent/issues). - # 📄 License Nexent is licensed under the [MIT](LICENSE) with additional conditions. Please read the [LICENSE](LICENSE) file for details. diff --git a/README_CN.md b/README_CN.md index 82d4c8587..7bdfd5209 100644 --- a/README_CN.md +++ b/README_CN.md @@ -1,41 +1,25 @@ ![Nexent Banner](./assets/NexentBanner.png) -[![English](https://img.shields.io/badge/English-README-blue)](README.md) -[![中文](https://img.shields.io/badge/中文-README-green)](README_CN.md) -[![Documentation](https://img.shields.io/badge/Nexent-文档-yellow)](https://modelengine-group.github.io/nexent) -[![codecov](https://codecov.io/gh/ModelEngine-Group/nexent/branch/develop/graph/badge.svg?token=00JM5YAD5V)](https://codecov.io/gh/ModelEngine-Group/nexent?branch=develop) +[![Website](https://img.shields.io/badge/Website-blue?logo=icloud&logoColor=white)](https://nexent.tech) +[![English](https://img.shields.io/badge/English-README-blue?logo=github)](README.md) +[![中文](https://img.shields.io/badge/中文-README-green?logo=github)](README_CN.md) +[![Documentation](https://img.shields.io/badge/Documentation-CN/EN-red?logo=googledocs&logoColor=%23ECD53F)](https://modelengine-group.github.io/nexent) +[![Docker Pulls](https://img.shields.io/docker/pulls/nexent/nexent?logo=docker&label=DockerPull)](https://hub.docker.com/repositories/nexent) +[![Codecov (with branch)](https://img.shields.io/codecov/c/github/ModelEngine-Group/nexent/develop?logo=codecov&color=green)](https://codecov.io/gh/ModelEngine-Group/nexent) Nexent 是一个零代码智能体自动生成平台 —— 无需编排,无需复杂的拖拉拽操作,使用纯语言开发你想要的任何智能体。基于MCP生态,具备丰富的工具集成,同时提供多种自带智能体,满足你的工作、旅行、生活等不同场景的智能服务需要。Nexent 还提供强大的智能体运行控制、多智能体协作、数据处理和知识溯源、多模态对话、批量扩展能力。 > 一个提示词,无限种可能。 -### 🌟 立即体验 Nexent +### 🌐 访问我们的[官方网站](https://nexent.tech/) -- 🌐 访问我们的[官方网站](http://nexent.tech/)了解更多信息 -- 🚀 [一键试用](http://nexent.tech/try)体验 Nexent 的强大功能 +![Nexent Banner](./assets/architecture_zh.png) https://github.com/user-attachments/assets/b844e05d-5277-4509-9463-1c5b3516f11e -# 🤝 加入我们的社区 - -> *If you want to go fast, go alone; if you want to go far, go together.* - -我们已经发布了 **Nexent v1**,目前功能已经相对稳定,但仍可能存在一些 bug,我们会持续改进并不断增加新功能。敬请期待,我们很快也会公布 **v2.0** 版本! - -* **🗺️ 查看我们的 [功能地图](https://github.com/orgs/ModelEngine-Group/projects/6)** 探索当前和即将推出的功能。 -* **🔍 试用当前版本** 并在 [问题反馈](https://github.com/ModelEngine-Group/nexent/issues) 中留下想法或报告错误。 - -> *Rome wasn't built in a day.* - -如果我们的愿景与您产生共鸣,请通过 **[贡献指南](https://modelengine-group.github.io/nexent/zh/contributing)** 加入我们,共同塑造 Nexent。 - -早期贡献者不会被忽视:从特殊徽章和纪念品到其他实质性奖励,我们致力于感谢那些帮助 Nexent 诞生的先驱者。 - -最重要的是,我们需要关注度。请为仓库点星 ⭐ 并关注,与朋友分享,帮助更多开发者发现 Nexent —— 您的每一次点击都能为项目带来新的参与者,保持发展势头。 - # ⚡ 先来试试看 -### 1. 📋 系统要求 +### 📋 系统要求 | 资源 | 最低要求 | |----------|---------| @@ -43,24 +27,40 @@ https://github.com/user-attachments/assets/b844e05d-5277-4509-9463-1c5b3516f11e | **内存** | 6 GiB | | **软件** | 已安装 Docker 和 Docker Compose | -### 2. 🛠️ 使用 Docker Compose 快速开始 +### 🛠️ 使用 Docker Compose 快速开始 ```bash git clone https://github.com/ModelEngine-Group/nexent.git cd nexent/docker -cp .env.example .env # fill only nessasary configs +cp .env.example .env # fill only necessary configs bash deploy.sh ``` 当容器运行后,在浏览器中打开 **http://localhost:3000** 并按照设置向导操作。 -# 🌱 MCP 工具生态 +# 🤝 加入我们的社区 -查看我们的[MCP 生态系统页面](https://modelengine-group.github.io/nexent/zh/mcp-ecosystem/overview.html)了解 MCP 工具生态系统的详细信息,包括社区中心、推荐工具和集成指南。 +> *If you want to go fast, go alone; if you want to go far, go together.* + +我们已经发布了 **Nexent v1**,平台现在相对稳定。但是,可能仍然存在一些 bug,我们正在持续改进并添加新功能。敬请期待:我们很快将宣布 **v2.0**! -### 🚀 建议的智能体场景 +* **🗺️ 查看我们的 [功能地图](https://github.com/orgs/ModelEngine-Group/projects/6)** 探索当前和即将推出的功能。 +* **🔍 试用当前版本** 并在 [问题反馈](https://github.com/ModelEngine-Group/nexent/issues) 中留下想法或报告错误。 +* **🐛 查看我们的[已知问题页面](https://github.com/orgs/ModelEngine-Group/projects/9)** 了解最新的问题状态和解决方案。 + +> *Rome wasn't built in a day.* -查看我们的[智能体场景页面](https://modelengine-group.github.io/nexent/zh/mcp-ecosystem/use-cases.html)了解详细的智能体用例和最佳实践,包括旅行规划、研究助手、商业智能、智能生活等场景。 +如果我们的愿景与您产生共鸣,请通过 **[贡献指南](https://modelengine-group.github.io/nexent/zh/contributing)** 加入我们,共同塑造 Nexent。 + +早期贡献者不会被忽视:从特殊徽章和纪念品到其他实质性奖励,我们致力于感谢那些帮助 Nexent 诞生的先驱者。 + +最重要的是,我们需要关注度。请为仓库点星 ⭐ 并关注,与朋友分享,帮助更多开发者发现 Nexent —— 您的每一次点击都能为项目带来新的参与者,保持发展势头。 + +## 💬 社区与联系方式 + +- 浏览 [文档](https://modelengine-group.github.io/nexent) 了解更多信息。 +- 加入我们的 [Discord 社区](https://discord.gg/tb5H3S3wyv) 与其他开发者交流并获取帮助! +- 通过微信联系我们,在我们的[网站](https://nexent.tech/zh/contact)找到二维码 # ✨ 主要特性 @@ -99,6 +99,10 @@ bash deploy.sh ![Feature 7](./assets/Feature7.png) +# 🌱 MCP 工具生态 + +查看我们的[MCP 生态系统页面](https://modelengine-group.github.io/nexent/zh/mcp-ecosystem/overview.html)了解 MCP 工具生态系统的详细信息,包括社区中心、推荐工具和集成指南。 + # 🛠️ 开发者指南 ### 🤖 模型配置与模型提供商推荐 @@ -113,16 +117,6 @@ bash deploy.sh 想要从源码运行 Nexent?查看我们的[开发者指南](https://modelengine-group.github.io/nexent/zh/getting-started/development-guide)获取详细的设置说明和自定义选项。 -# 🐛 已知问题 - -查看我们的[已知问题页面](https://modelengine-group.github.io/nexent/zh/known-issues.html)了解最新的问题状态和解决方案。 - -# 💬 社区与联系方式 - -- 浏览 [常见问题](https://modelengine-group.github.io/nexent/zh/faq) 了解常见安装问题。 -- 加入我们的 [Discord 社区](https://discord.gg/tb5H3S3wyv) 与其他开发者交流并获取帮助! -- 在 [GitHub Issues](https://github.com/ModelEngine-Group/nexent/issues) 中提交错误报告或功能建议。 - # 📄 许可证 Nexent 采用 [MIT](LICENSE) 许可证,并附有额外条件。请阅读 [LICENSE](LICENSE) 文件了解详情。 diff --git a/assets/architecture_en.png b/assets/architecture_en.png new file mode 100644 index 000000000..eda19615e Binary files /dev/null and b/assets/architecture_en.png differ diff --git a/assets/architecture_zh.png b/assets/architecture_zh.png new file mode 100644 index 000000000..61e5c875f Binary files /dev/null and b/assets/architecture_zh.png differ diff --git a/doc/docs/zh/opensource-memorial-wall.md b/doc/docs/zh/opensource-memorial-wall.md index bd7e9864e..c7cb65c00 100644 --- a/doc/docs/zh/opensource-memorial-wall.md +++ b/doc/docs/zh/opensource-memorial-wall.md @@ -20,6 +20,10 @@ 很好的项目,希望蒸蒸日上 ::: +::: tip xiaomi250 - 2025-10-18 +打算冲一波 ICT 大赛!正好借着这个机会多捣鼓捣鼓,把我的技术再升个级,想想还挺有意思的~ +::: + ::: tip aibito - 某创业公司后端开发 - 2025-05-18 我们是一家只有 15 人的小公司,之前一直想做智能客服但技术门槛太高。发现 Nexent 后如获至宝!20+ 文件格式支持让我们轻松处理用户上传的各种文档,多模态对话功能完美解决了语音客服需求。最重要的是,我们的产品经理现在也能直接用自然语言调整智能体逻辑,开发效率提升了好几倍! ::: @@ -131,6 +135,7 @@ Nexent的自然语言生成Agent以及多智能体协同是我一直在研究的 ::: info lyc0502 - 2025-09-29 很好的项目 希望可以借此机会学到很多技术 ::: + ::: info JSH - 2025-09-30 从ICT认识Nexent,希望可以从开源中学到更多 ::: @@ -163,6 +168,10 @@ Nexent的自然语言生成Agent以及多智能体协同是我一直在研究的 第一次接触智能体编排,是为了参加华为ICT大赛而了解 Nexent 的。 没想到入门比想象中容易,文档也写得很清晰。 ::: +::: tip YuXiaoLoong - 2025-10-27 +Nexent是一个十分便利的开发平台,文档清晰,工具齐全,有幸能用上这么好用的平台,希望能在这个平台上学到更多技术和思想。 +::: + ::: tip hud0567 - 2025-10-17 第一次接触这个平台 入门超级艰难 很智能化 ::: @@ -182,12 +191,87 @@ Nexent的自然语言生成Agent以及多智能体协同是我一直在研究的 中华有为 ::: +::: info zhouyin2516 - 2025-10-24 +希望能借助 Nexent 开发一个智能问答助手! +::: + +::: info tanzitong - 2025-10-24 +通过ict大赛接触到的这个平台,之前用过dify,coze,n8n等智能体平台,对比之下Nexent显得更加简洁和高效 +::: + +::: info Nebula-11 - 2025-10-22 +第一次用Mexent参加华为ict大赛,希望发展越来越好。 +::: + +::: info feixin - 2025-10-24 +希望能一直好好做下去,有机会的话,我也会试着提交pr,加油!! +::: + +::: info 916443155@qq.com - 2025-10-25 +希望能参加ict大赛长长见识,提高水平~ +::: + +::: info nobody - 2025-10-15 +参加ICT大赛来了解 Nexent,这真的是个很好的平台,未来一起前行吧 +参加ICT大赛来了解 Nexent,好难弄啊啊啊,电脑硬盘容量不够了,然而硬盘价格还没下跌,该死的贩子 +通过ict大赛了解到了Nexent平台,很惊讶居然还有这么方便的平台,希望以后可以一起努力 +参加华为ICT,学习Nexent,AI改变你和我,赋能未来! +就是来留个脚印 👍 项目不错,给个star~ +感叹科技的跃迁,大大降低我学习的难度,是我进步飞快 +::: + ::: info yang 2025-11-02 Nexent功能如此之强大,给我很多帮助,感谢开发者!厉害 ::: ::: info y-dq - 2025-10-28  想要自己尝试搭建智能体,感叹Nexent的功能如此强大! +::: tip cai7777 - 2025-10 23 +参加ICT大赛来了解 Nexent +::: + +::: tip wulong - 2025-10-22 +出发华为!感谢 Nexent 一起赋能! +::: + +::: tip 开源新手 - 2025-10-22 +感谢 Nexent 让我踏上了开源之旅!这个项目的文档真的很棒,帮助我快速上手。 +::: + +::: tip xiongmiao - 2025-10-22 +参加ict大赛希望能有一个很好的启发 +::: + +::: info xiongmiao -2025-10-22 +参加ICT进一步了解智能体 +::: + +:::info Nebula-11 - 2025-10-22 +第一次用Mexent参加华为ict大赛,希望发展越来越好。 +::: + +::: tip ROBOT-PZY - 2025-10-23 +小白勇闯华为ICT大赛,感谢nexent平台支持 +::: + +::: info jjcc6 - 2025-10-15 +希望能参加ict大赛长长见识,提高水平~ +::: + +::: tip shiou - 2025-10-17 +感谢nexent让我了解了开源项目,帮助我快速上手 +::: + +::: tip shev - 2025-10-25 +感谢nexent我开始来了解开源项目,第一次参加华为ict大赛 +::: + +::: tip iocion - 2025-10-24 +第一次在了解到nexent平台,看到现在ai发展对智能化的影响巨大,以往对于ai入门就是复杂的算法逻辑,现在可以更快的入门,文档写的也很清晰,希望model engine社区可以不断完善和壮大。 +::: + +::: tip iocion - 2025-11-05 +本地快速搭建,离不开大家开源的贡献,希望model engine社区可以不断完善和壮大。 ::: ::: info zhangwt0601 - 2025-11-1 diff --git a/frontend/app/[locale]/setup/agents/components/DebugConfig.tsx b/frontend/app/[locale]/setup/agents/components/DebugConfig.tsx index 1bd0a7a1b..7f691307d 100644 --- a/frontend/app/[locale]/setup/agents/components/DebugConfig.tsx +++ b/frontend/app/[locale]/setup/agents/components/DebugConfig.tsx @@ -294,7 +294,7 @@ export default function DebugConfig({ agentId }: DebugConfigProps) { isComplete: false, }; - setMessages([userMessage, assistantMessage]); + setMessages((prev) => [...prev, userMessage, assistantMessage]); try { // Ensure agent_id is a number @@ -312,7 +312,12 @@ export default function DebugConfig({ agentId }: DebugConfigProps) { query: question, conversation_id: -1, // Debug mode uses -1 as conversation ID is_set: true, - history: [], + history: messages + .filter(msg => msg.isComplete !== false) // Only pass completed messages + .map(msg => ({ + role: msg.role, + content: msg.content + })), is_debug: true, // Add debug mode flag agent_id: agentIdValue, // Use the properly parsed agent_id }, diff --git a/frontend/app/[locale]/setup/agents/config.tsx b/frontend/app/[locale]/setup/agents/config.tsx index 0cf62c53c..5a1df5831 100644 --- a/frontend/app/[locale]/setup/agents/config.tsx +++ b/frontend/app/[locale]/setup/agents/config.tsx @@ -543,6 +543,7 @@ export default function AgentConfig() { onClose={() => setIsDebugDrawerOpen(false)} open={isDebugDrawerOpen} width={LAYOUT_CONFIG.DRAWER_WIDTH} + destroyOnClose={true} styles={{ body: { padding: 0, diff --git a/test/backend/app/test_northbound_app.py b/test/backend/app/test_northbound_app.py index 26d383258..672703cac 100644 --- a/test/backend/app/test_northbound_app.py +++ b/test/backend/app/test_northbound_app.py @@ -395,6 +395,7 @@ async def _gen(): json={"conversation_id": "nb-1", "agent_name": "a", "query": "hi"}, headers=_std_headers(), ) + # Should continue with empty body and succeed assert resp.status_code == 200 assert captured["seen"] == ""