update Roadmap and format code

This commit is contained in:
liangxinbing 2025-03-10 20:13:06 +08:00
parent 110213a29f
commit b23ab9a42a
5 changed files with 24 additions and 36 deletions

View File

@ -129,14 +129,7 @@ Or contact @mannaandpoem via 📧email: mannaandpoem@gmail.com
## Roadmap ## Roadmap
After comprehensively gathering feedback from community members, we have decided to adopt a 3-4 day iteration cycle to gradually implement the highly anticipated features. - [ ] Improve the UIs visual appeal to create a more intuitive and seamless user experience.
- [ ] Enhance Planning capabilities, optimize task breakdown and execution logic
- [ ] Introduce standardized evaluation metrics (based on GAIA and TAU-Bench) for continuous performance assessment and optimization
- [ ] Expand model adaptation and optimize low-cost application scenarios
- [ ] Implement containerized deployment to simplify installation and usage workflows
- [ ] Enrich example libraries with more practical cases, including analysis of both successful and failed examples
- [ ] Frontend/backend development to improve user experience
## Community Group ## Community Group
Join our networking group on Feishu and share your experience with other developers! Join our networking group on Feishu and share your experience with other developers!

View File

@ -129,14 +129,7 @@ python run_flow.py
## 发展路线 ## 发展路线
在全面收集了社区成员的反馈后,我们决定采用 3-4 天为周期的迭代模式,逐步实现大家期待的功能。 - [ ] 提高用户界面的视觉吸引力,以创建更直观和无缝的用户体验。
- [ ] 增强 Planning 能力,优化任务分解和执行逻辑
- [ ] 引入标准化评测,基于 GAIA 和 TAU-Bench持续评估并优化性能
- [ ] 拓展模型适配,优化低成本应用场景
- [ ] 实现容器化部署,简化安装和使用流程
- [ ] 丰富示例库,增加更多实用案例,包含成功和失败示例的分析
- [ ] 前后端开发,提供用户体验
## 交流群 ## 交流群

15
app.py
View File

@ -1,13 +1,14 @@
from fastapi import FastAPI, Request, Body, HTTPException import asyncio
import uuid
from datetime import datetime
from json import dumps
from fastapi import Body, FastAPI, HTTPException, Request
from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import HTMLResponse, JSONResponse, StreamingResponse from fastapi.responses import HTMLResponse, JSONResponse, StreamingResponse
from fastapi.staticfiles import StaticFiles from fastapi.staticfiles import StaticFiles
from fastapi.templating import Jinja2Templates from fastapi.templating import Jinja2Templates
from fastapi.middleware.cors import CORSMiddleware
from pydantic import BaseModel from pydantic import BaseModel
from datetime import datetime
import asyncio
import uuid
from json import dumps
app = FastAPI() app = FastAPI()
@ -99,6 +100,7 @@ async def create_task(prompt: str = Body(..., embed=True)):
from app.agent.manus import Manus from app.agent.manus import Manus
async def run_task(task_id: str, prompt: str): async def run_task(task_id: str, prompt: str):
try: try:
task_manager.tasks[task_id].status = "running" task_manager.tasks[task_id].status = "running"
@ -129,6 +131,7 @@ async def run_task(task_id: str, prompt: str):
async def __call__(self, message): async def __call__(self, message):
import re import re
# 提取 - 后面的内容 # 提取 - 后面的内容
cleaned_message = re.sub(r'^.*? - ', '', message) cleaned_message = re.sub(r'^.*? - ', '', message)

View File

@ -692,4 +692,3 @@ document.addEventListener('DOMContentLoaded', () => {
}); });
} }
}); });