- 升级openai依赖至2.x版本并替换旧版SDK调用方式 - 引入OpenAI和AsyncOpenAI客户端实例替代全局配置 - 更新所有聊天完成请求方法以适配新版API格式 - 为异步流式响应处理添加异常捕获和错误提示 - 统一超时时间和最大token数等默认参数设置 - 修复部分变量命名冲突和潜在的空值引用问题 - 添加打印彩色日志的辅助函数避免循环导入问题
AgentCoord Frontend
This is the frontend for the AgentCoord project. Root project is located here
Installation
You can launch the frontend by simply using docker-compose in the root directory of the project.
Or, you can launch the frontend manually by following the steps below.
- Install the dependencies by running
npm install.
npm install
- Build the frontend by running
npm run build.
npm run build
- Start the frontend by running
npm run serve.
npm run serve
Then you can access the frontend by visiting http://localhost:8080.
Development
You can run the frontend in development mode by running npm run dev.
npm run dev
The frontend website requires the backend server to be running. You can configure the backend server address by copying the .env.example file to .env and changing the API_BASE value to the backend server address.