Comments (16)
您好,如果您使用之前的代码build过镜像,可能需要删除原来的镜像后prune,用最新代码重新build可以生效。如果还有问题随时沟通 ~
from xagent.
您好,您能npm run 起来网页吗
from xagent.
Both localhost:8090 and 0.0.0.0:8090 cannot see the web GUI. I got 404 errors.
And I git clone the newest version.
from xagent.
您好,您能npm run 起来网页吗
目前还没尝试过
from xagent.
您好,如果您使用之前的代码build过镜像,可能需要删除原来的镜像后prune,用最新代码重新build可以生效。如果还有问题随时沟通 ~
最新代码
from xagent.
您好,目前您需要进入 XAgentWeb 文件夹, "npm install" 和 "npm run dev" ,来启动前端Web UI 界面进行访问,8090这个端口是后端的接口地址。您启动前端界面后, 按照提示访问页面,一般是 http://127.0.0.1:5173。 后续我们会将Web UI 的前后端都放在docker启动,简化两步操作为一步。
from xagent.
您好,我们更新了最新代码,将web ui的前后端 build 在一个 docker 里,详情请看 readme.md,这次更新将改善 前后端的通信。
from xagent.
您好,我们更新了最新代码,将web ui的前后端 build 在一个 docker 里,详情请看 readme.md,这次更新将改善 前后端的通信。
最新github代码报错:
# root @ arm01 in /home/XAgent/XAgentServer on git:main x [17:08:13]
$ docker compose up -d
[+] Running 1/1
! XAgentServer Warning 2.7s
[+] Building 7.8s (10/23) docker:default
=> [XAgentServer internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 963B 0.0s
=> [XAgentServer internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [XAgentServer internal] load metadata for docker.io/library/python:3.10 1.4s
=> [XAgentServer internal] load metadata for docker.io/library/node:lts-alpine 2.4s
=> CANCELED [XAgentServer xagentweb 1/6] FROM docker.io/library/node:lts-alpine@sha256:435dcad253bb5b7f347ebc69c8cc52de7c912eb7241098b920f 5.1s
=> => resolve docker.io/library/node:lts-alpine@sha256:435dcad253bb5b7f347ebc69c8cc52de7c912eb7241098b920f2fc2d7843183d 0.1s
=> => sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.4s
=> => sha256:193dce5f4a0cf83f577b68c70b4e91199f39f88aac032b21359a13314f7dc6f5 48.02MB / 48.02MB 0.9s
=> => sha256:78d1fe6b9b44fc9c132c16332d54041ac771dc5e65e8fee11bba0ee306c9b04e 2.34MB / 2.34MB 0.4s
=> => sha256:435dcad253bb5b7f347ebc69c8cc52de7c912eb7241098b920f2fc2d7843183d 1.43kB / 1.43kB 0.0s
=> => sha256:f439e9091207d478bf7cf8ce3967ea08f3ef357f08eb264dd14eac7f4dacfcb8 1.16kB / 1.16kB 0.0s
=> => sha256:f5a5f92010157c0e38d5611b97eb473f6f95fd583c8bf45a2fca5cddd987bdb5 6.79kB / 6.79kB 0.0s
=> => extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.5s
=> => sha256:18c854bc80eaceb8b8e4e799cc9955831ea8355d0b61a08b80b3a5226ea1da55 450B / 450B 1.0s
=> => extracting sha256:193dce5f4a0cf83f577b68c70b4e91199f39f88aac032b21359a13314f7dc6f5 3.0s
=> [XAgentServer internal] load build context 5.1s
=> => transferring context: 282.45MB 2.9s
=> CACHED [XAgentServer xagentserver 1/12] FROM docker.io/library/python:3.10@sha256:85de714b205693782cc48408bc48815343529987aae396b1adbb 0.0s
=> [XAgentServer xagentserver 2/12] RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 5.2s
=> CACHED [XAgentServer xagentweb 2/6] WORKDIR /app 0.0s
=> ERROR [XAgentServer xagentweb 3/6] COPY ./XAgentWeb/package.json ./XAgentWeb/package-lock.json ./ 0.0s
------
> [XAgentServer xagentweb 3/6] COPY ./XAgentWeb/package.json ./XAgentWeb/package-lock.json ./:
------
failed to solve: failed to compute cache key: failed to calculate checksum of ref e398562a-3147-493b-9274-a05f6764af63::90p3o9klne7wkgi90v07fvgxr: "/XAgentWeb/package-lock.json": not found
from xagent.
谢谢您的反馈,已经去掉lock,现在不会出现了
from xagent.
INFO: Will watch for changes in these directories: ['/app']
INFO: Uvicorn running on http://0.0.0.0:8090 (Press CTRL+C to quit)
INFO: Started reloader process [1] using StatReload
INFO: Started server process [9]
INFO: Waiting for application startup.
INFO: Application startup complete.
XAgent Service Startup Param:
app: app:app
prod: False
base_dir: XAgentServer
use_redis: False
recorder_root_dir: running_records
default_login: True
check_running: False
host: 0.0.0.0
port: 8090
debug: True
reload: True
workers: 1
DB: <class 'XAgentServer.envs.XAgentServerEnv.DB'>
Redis: <class 'XAgentServer.envs.XAgentServerEnv.Redis'>
Email: <class 'XAgentServer.envs.XAgentServerEnv.Email'>
Upload: <class 'XAgentServer.envs.XAgentServerEnv.Upload'>
init websocket_queue
XAgentServer is running on 0.0.0.0:8090
Default user: admin, token: xagent-admin, you can use it to login
Create task for pong broadcast
init a websocket manager
init a thread pool executor, max_workers: 1
pong broadcast for active connections: 0
init localstorage connection: users.json
init localstorage connection: interaction.json
pong broadcast for active connections: 0
pong broadcast for active connections: 0
pong broadcast for active connections: 0
INFO: 127.0.0.1:36474 - "POST /login HTTP/1.0" 200 OK
from xagent.
您好,尝试重新发送query看看,并检查您的ToolServer启动了吗
from xagent.
monitor
INFO: Database connected
INFO: Docker client connected
manager
[2023-10-20 17:07:57 +0000] [1] [INFO] Starting gunicorn 21.2.0
[2023-10-20 17:07:58 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)
[2023-10-20 17:07:58 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker
[2023-10-20 17:07:58 +0000] [7] [INFO] Booting worker with pid: 7
[2023-10-20 17:07:58 +0000] [8] [INFO] Booting worker with pid: 8
[2023-10-20 17:07:58 +0000] [9] [INFO] Booting worker with pid: 9
[2023-10-20 17:07:58 +0000] [10] [INFO] Booting worker with pid: 10
[2023-10-20 17:07:58 +0000] [11] [INFO] Booting worker with pid: 11
[2023-10-20 17:07:58 +0000] [13] [INFO] Booting worker with pid: 13
[2023-10-20 17:07:58 +0000] [12] [INFO] Booting worker with pid: 12
[2023-10-20 17:07:58 +0000] [14] [INFO] Booting worker with pid: 14
[2023-10-20 17:08:01 +0000] [8] [INFO] Started server process [8]
[2023-10-20 17:08:01 +0000] [8] [INFO] Waiting for application startup.
[2023-10-20 17:08:01 +0000] [11] [INFO] Started server process [11]
[2023-10-20 17:08:01 +0000] [11] [INFO] Waiting for application startup.
[2023-10-20 17:08:01 +0000] [8] [INFO] Application startup complete.
[2023-10-20 17:08:01 +0000] [11] [INFO] Application startup complete.
[2023-10-20 17:08:01 +0000] [9] [INFO] Started server process [9]
[2023-10-20 17:08:01 +0000] [9] [INFO] Waiting for application startup.
[2023-10-20 17:08:01 +0000] [9] [INFO] Application startup complete.
[2023-10-20 17:08:01 +0000] [12] [INFO] Started server process [12]
[2023-10-20 17:08:01 +0000] [14] [INFO] Started server process [14]
[2023-10-20 17:08:01 +0000] [12] [INFO] Waiting for application startup.
[2023-10-20 17:08:01 +0000] [14] [INFO] Waiting for application startup.
[2023-10-20 17:08:01 +0000] [7] [INFO] Started server process [7]
[2023-10-20 17:08:01 +0000] [7] [INFO] Waiting for application startup.
[2023-10-20 17:08:01 +0000] [13] [INFO] Started server process [13]
[2023-10-20 17:08:01 +0000] [14] [INFO] Application startup complete.
[2023-10-20 17:08:01 +0000] [12] [INFO] Application startup complete.
[2023-10-20 17:08:01 +0000] [13] [INFO] Waiting for application startup.
[2023-10-20 17:08:01 +0000] [7] [INFO] Application startup complete.
[2023-10-20 17:08:01 +0000] [13] [INFO] Application startup complete.
[2023-10-20 17:08:01 +0000] [10] [INFO] Started server process [10]
[2023-10-20 17:08:01 +0000] [10] [INFO] Waiting for application startup.
[2023-10-20 17:08:01 +0000] [10] [INFO] Application startup complete.
[2023-10-20 17:25:39 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-10-20 17:25:39 +0000] [11] [WARNING] Invalid HTTP request received.
from xagent.
from xagent.
您好,请尝试重新 输入查询,即使nin您没有启动 ToolServerNode,也将会出现上一个评论的 log
from xagent.
怎么查询都没有反应,日志没有变化
from xagent.
XAgent-Server | XAgent Service Startup Param:
XAgent-Server | app: app:app
XAgent-Server | prod: False
XAgent-Server | base_dir: XAgentServer
XAgent-Server | use_redis: False
XAgent-Server | recorder_root_dir: running_records
XAgent-Server | default_login: True
XAgent-Server | check_running: False
XAgent-Server | host: 0.0.0.0
XAgent-Server | port: 8090
XAgent-Server | debug: True
XAgent-Server | reload: True
XAgent-Server | workers: 1
XAgent-Server | DB: <class 'XAgentServer.envs.XAgentServerEnv.DB'>
XAgent-Server | Redis: <class 'XAgentServer.envs.XAgentServerEnv.Redis'>
XAgent-Server | Email: <class 'XAgentServer.envs.XAgentServerEnv.Email'>
XAgent-Server | Upload: <class 'XAgentServer.envs.XAgentServerEnv.Upload'>
XAgent-Server | init websocket_queue
XAgent-Server | XAgentServer is running on 0.0.0.0:8090
XAgent-Server | Default user: admin, token: xagent-admin, you can use it to login
XAgent-Server | Create task for pong broadcast
XAgent-Server | init a websocket manager
XAgent-Server | init a thread pool executor, max_workers: 1
XAgent-Server | init localstorage connection: users.json
XAgent-Server | init localstorage connection: interaction.json
XAgent-Server | pong broadcast for active connections: 0
XAgent-Server | pong broadcast for active connections: 0
XAgent-Server | pong broadcast for active connections: 0
省略很多个 XAgent-Server | pong broadcast for active connections: 0
XAgent-Server | pong broadcast for active connections: 0
XAgent-Server | pong broadcast for active connections: 0
XAgent-Server | pong broadcast for active connections: 0
XAgent-Server | pong broadcast for active connections: 0
XAgent-Server | pong broadcast for active connections: 0
XAgent-Server | pong broadcast for active connections: 0
XAgent-Server | INFO: 10.240.3.108:0 - "POST /login HTTP/1.0" 200 OK
from xagent.
Related Issues (20)
- ValueError: <string>:1 Unexpected "i" at column 3 HOT 1
- 运行卡死并且报错 HOT 1
- gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> HOT 2
- 运行时候弹出Error“max_workers must be greater than 0”
- Docker Enabling Privileged Mode Causes Container Escapes
- 执行任务发生数据库连接报错 HOT 1
- docker内部请求异常终止导致会话超时
- docker拉去成功,run.py后一只重复打印chatcompletion: using gpt-4-32k HOT 3
- Error in task_handler 和 NoneType 错误 HOT 1
- 1、docker 容器中,MongoDB、MySql、Redis 分别用来做什么的,能否自定义集成向量库、图数据库、索引库自定义 RAG
- 2、如何人工干预任务拆解
- 支持本地部署的LLM吗?
- 执行python run.py 的时候报错KeyError: 0,错误定位在plan_exec.py line 178 HOT 3
- xagentllama-34b-preview 使用transformer加载报错: model = AutoModelForCausalLM.from_pretrained( File "/data/envs_qwen_xgentllama_service/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 566, in from_pretrained return model_class.from_pretrained( File "/envs_qwen_xgentllama_service/lib/python3.9/site-packages/transformers/modeling_utils.py", line 3206, in from_pretrained raise EnvironmentError( OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in
- xagentllama-34b-preview 缺少 pytorch_model.bin.index.json, 使用transformers 库加载报错
- 疑问:parse_web_text 配置
- 部署后测试提问‘你好’出现错误 HOT 1
- ## Issue Description / 问题描述在多台机器上尝试执行docker compose up 容器出现mysql问题,然后执行docker compose build也出现问题 HOT 2
- 源码构建docker compose build时候[ 2/41] Cythonizing spacy/kb.pyx错误 HOT 3
- https://www.x-agent.net/ The website cannot be opened HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xagent.