Closed ruifengma closed 10 months ago
Here I attach the starting log. And, I also checked the port with lsof -i:8080
(xagent) root@iZ2zebrqxw523rv59ill69Z:/data/mrx/agent/XAgent# lsof -i:8080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 25197 root 4u IPv4 14671513 0t0 TCP *:http-alt (LISTEN)
docker-pr 25203 root 4u IPv6 14667604 0t0 TCP *:http-alt (LISTEN)
(xagent) root@iZ2zebrqxw523rv59ill69Z:/data/mrx/agent/XAgent/dockerfiles# docker-compose up
[+] Building 0.0s (0/0) docker:default
[+] Running 5/0
✔ Container xagent-ToolServerNode-1 Created 0.0s
✔ Container xagent-db-1 Created 0.0s
✔ Container XAgent-Server Created 0.0s
✔ Container xagent-ToolServerMonitor-1 Created 0.0s
✔ Container xagent-ToolServerManager-1 Created 0.0s
Attaching to XAgent-Server, xagent-ToolServerManager-1, xagent-ToolServerMonitor-1, xagent-ToolServerNode-1, xagent-db-1
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.172+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.173+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"-","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.173+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.173+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.174+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.174+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.174+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.174+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.174+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"8c5ad536eb4a"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.174+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"5.0.5","gitVersion":"d65fd89df3fc039b5c55933c0f71d647a54510ae","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.174+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.174+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"security":{"authorization":"enabled"}}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.175+00:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.175+00:00"},"s":"I", "c":"STORAGE", "id":22297, "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.175+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=62442M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.924+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1701068497:924930][1:0x7fb47f62bc80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5 through 6"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:37.963+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1701068497:963807][1:0x7fb47f62bc80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 6 through 6"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.024+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1701068498:24049][1:0x7fb47f62bc80], txn-recover: [WT_VERB_RECOVERY_ALL] Main recovery loop: starting at 5/23168 to 6/256"}}
xagent-ToolServerMonitor-1 | INFO: Database connected
xagent-ToolServerMonitor-1 | INFO: Docker client connected
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.103+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1701068498:103570][1:0x7fb47f62bc80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5 through 6"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.148+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1701068498:148416][1:0x7fb47f62bc80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 6 through 6"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.188+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1701068498:188390][1:0x7fb47f62bc80], txn-recover: [WT_VERB_RECOVERY_ALL] Set global recovery timestamp: (0, 0)"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.188+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1701068498:188426][1:0x7fb47f62bc80], txn-recover: [WT_VERB_RECOVERY_ALL] Set global oldest timestamp: (0, 0)"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.189+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1701068498:189103][1:0x7fb47f62bc80], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 5220"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.193+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":1018}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.194+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.194+00:00"},"s":"I", "c":"STORAGE", "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.195+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.199+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.199+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.200+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.200+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.201+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.202+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.202+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.202+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
xagent-ToolServerNode-1 | Build complete. Exiting...
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.581+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.6:60702","uuid":"0f34927a-e3f4-4221-949b-d58953c68ce6","connectionId":1,"connectionCount":1}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.581+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"172.18.0.6:60702","client":"conn1","doc":{"driver":{"name":"PyMongo|Motor","version":"4.6.0|3.3.2"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-213-generic"},"platform":"CPython 3.10.13.final.0|asyncio"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.582+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.6:60704","uuid":"5e780926-a036-4f85-93d1-80964c4a7669","connectionId":2,"connectionCount":2}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.582+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.6:60716","uuid":"2c1c4361-8e99-41d0-a983-459da7210d0c","connectionId":3,"connectionCount":3}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.582+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"172.18.0.6:60704","client":"conn2","doc":{"driver":{"name":"PyMongo|Motor","version":"4.6.0|3.3.2"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-213-generic"},"platform":"CPython 3.10.13.final.0|asyncio"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.582+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"172.18.0.6:60716","client":"conn3","doc":{"driver":{"name":"PyMongo|Motor","version":"4.6.0|3.3.2"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-213-generic"},"platform":"CPython 3.10.13.final.0|asyncio"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:01:38.589+00:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn3","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"admin","authenticationDatabase":"admin","remote":"172.18.0.6:60716","extraInfo":{}}}
xagent-ToolServerNode-1 exited with code 0
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [1] [INFO] Starting gunicorn 21.2.0
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [7] [INFO] Booting worker with pid: 7
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [8] [INFO] Booting worker with pid: 8
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [9] [INFO] Booting worker with pid: 9
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [10] [INFO] Booting worker with pid: 10
XAgent-Server | INFO: Will watch for changes in these directories: ['/app']
XAgent-Server | INFO: Uvicorn running on http://0.0.0.0:8090 (Press CTRL+C to quit)
XAgent-Server | INFO: Started reloader process [1] using StatReload
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [8] [INFO] Started server process [8]
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [8] [INFO] Waiting for application startup.
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [8] [INFO] Application startup complete.
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [7] [INFO] Started server process [7]
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [7] [INFO] Waiting for application startup.
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [7] [INFO] Application startup complete.
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [9] [INFO] Started server process [9]
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [9] [INFO] Waiting for application startup.
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [10] [INFO] Started server process [10]
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [10] [INFO] Waiting for application startup.
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [9] [INFO] Application startup complete.
xagent-ToolServerManager-1 | [2023-11-27 07:01:39 +0000] [10] [INFO] Application startup complete.
XAgent-Server | INFO: Started server process [8]
XAgent-Server | INFO: Waiting for application startup.
XAgent-Server | INFO: Application startup complete.
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:33.690+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.5:54936","uuid":"49f60a14-0ef8-4f76-b2eb-fbb22b9ec99e","connectionId":4,"connectionCount":4}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:33.690+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"172.18.0.5:54936","client":"conn4","doc":{"driver":{"name":"PyMongo|Motor","version":"4.6.0|3.3.2"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-213-generic"},"platform":"CPython 3.10.13.final.0|asyncio"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:33.692+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.5:54952","uuid":"02e6d05f-4fb6-4c9b-aff1-319bfb5147e2","connectionId":5,"connectionCount":5}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:33.692+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.5:54964","uuid":"6c60e881-5c38-41c7-bbd9-04a8d6e6b7c8","connectionId":6,"connectionCount":6}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:33.692+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"172.18.0.5:54952","client":"conn5","doc":{"driver":{"name":"PyMongo|Motor","version":"4.6.0|3.3.2"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-213-generic"},"platform":"CPython 3.10.13.final.0|asyncio"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:33.692+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn6","msg":"client metadata","attr":{"remote":"172.18.0.5:54964","client":"conn6","doc":{"driver":{"name":"PyMongo|Motor","version":"4.6.0|3.3.2"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-213-generic"},"platform":"CPython 3.10.13.final.0|asyncio"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:33.698+00:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn6","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"admin","authenticationDatabase":"admin","remote":"172.18.0.5:54964","extraInfo":{}}}
vigorous_chatelet | INFO: Started server process [1]
vigorous_chatelet | INFO: Waiting for application startup.
vigorous_chatelet | Starting Docker: docker.
vigorous_chatelet | INFO: Register env FileSystemEnv with 3 tools!
vigorous_chatelet | WARNING: Bing API key is not provided, rollback to duckduckgo.
vigorous_chatelet | INFO: Register env WebEnv with 2 tools!
vigorous_chatelet | INFO: Register env PythonNotebook with 2 tools!
vigorous_chatelet | INFO: Register tool shell_command_executor!
vigorous_chatelet | INFO: Loaded 8 tools and 3 envs!
vigorous_chatelet | INFO: Application startup complete.
vigorous_chatelet | INFO: Uvicorn running on http://0.0.0.0:31942 (Press CTRL+C to quit)
vigorous_chatelet | INFO: 127.0.0.1:34674 - "GET / HTTP/1.1" 200 OK
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:36.708+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.5:45400","uuid":"5db86630-a3c9-41e4-8a06-8092b48f5a99","connectionId":7,"connectionCount":7}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:36.708+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn7","msg":"client metadata","attr":{"remote":"172.18.0.5:45400","client":"conn7","doc":{"driver":{"name":"PyMongo|Motor","version":"4.6.0|3.3.2"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-213-generic"},"platform":"CPython 3.10.13.final.0|asyncio"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:36.709+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.5:45404","uuid":"45795e4b-f73b-41a6-a64d-f9d919a62aba","connectionId":8,"connectionCount":8}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:36.710+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn8","msg":"client metadata","attr":{"remote":"172.18.0.5:45404","client":"conn8","doc":{"driver":{"name":"PyMongo|Motor","version":"4.6.0|3.3.2"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-213-generic"},"platform":"CPython 3.10.13.final.0|asyncio"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:36.710+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.5:45412","uuid":"4908357b-3da4-4cec-9c6d-1a2a050693a9","connectionId":9,"connectionCount":9}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:36.710+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn9","msg":"client metadata","attr":{"remote":"172.18.0.5:45412","client":"conn9","doc":{"driver":{"name":"PyMongo|Motor","version":"4.6.0|3.3.2"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-213-generic"},"platform":"CPython 3.10.13.final.0|asyncio"}}}
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:36.715+00:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn9","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"admin","authenticationDatabase":"admin","remote":"172.18.0.5:45412","extraInfo":{}}}
vigorous_chatelet | INFO: 127.0.0.1:34688 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34704 - "GET / HTTP/1.1" 200 OK
xagent-db-1 | {"t":{"$date":"2023-11-27T07:02:38.199+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":"[1701068558:199125][1:0x7fb476e19700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 7, snapshot max: 7 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 5220"}}
vigorous_chatelet | INFO: 127.0.0.1:34714 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34736 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34754 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34780 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34794 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34818 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36168 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36188 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36216 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36228 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36244 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36262 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36294 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36312 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36330 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36354 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:40898 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:40922 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:40930 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:40940 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:40952 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:40966 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:40978 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41002 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41030 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:37898 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:37922 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:37946 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:37958 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:37976 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:37992 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38016 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38036 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38060 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38088 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50154 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50178 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50186 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50204 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50220 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50230 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50254 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50270 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50286 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:50308 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:33906 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:33924 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:33942 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:33964 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:33974 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34000 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34024 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34038 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:34044 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41580 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41604 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41614 - "GET / HTTP/1.1" 200 OK
xagent-db-1 | {"t":{"$date":"2023-11-27T07:03:38.209+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":"[1701068618:209615][1:0x7fb476e19700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 9, snapshot max: 9 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 5220"}}
vigorous_chatelet | INFO: 127.0.0.1:41624 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41644 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41674 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41690 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41714 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41724 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:41744 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:43918 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:43940 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:43966 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:43984 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:44004 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:44024 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:44030 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:44046 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:44066 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52576 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52586 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52604 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52626 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52638 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52664 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52678 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52688 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52698 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:52718 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:59474 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:59492 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:59510 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:59520 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:59532 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:59546 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:59552 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:59576 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:59598 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38620 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38626 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38640 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38658 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38672 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38688 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38712 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38734 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38752 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:38768 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36310 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36324 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36336 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36358 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36370 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36392 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36418 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36446 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36470 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:47190 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:47206 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:47228 - "GET / HTTP/1.1" 200 OK
xagent-db-1 | {"t":{"$date":"2023-11-27T07:04:38.213+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":"[1701068678:213046][1:0x7fb476e19700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 11, snapshot max: 11 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 5220"}}
vigorous_chatelet | INFO: 127.0.0.1:47250 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:47256 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:47262 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:47274 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:47292 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:47308 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:47324 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36552 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36568 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36584 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36602 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36626 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36646 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36662 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36676 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:36682 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60066 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60088 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60102 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60110 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60126 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60140 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60158 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60166 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60180 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:60188 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:54470 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:54490 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:54502 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:54532 - "GET / HTTP/1.1" 200 OK
vigorous_chatelet | INFO: 127.0.0.1:54546 - "GET / HTTP/1.1" 200 OK
Please pull the latest images and try again! It seems that you encounter errors in docker network, maybe a reboot or a upgrade of docker can solve the problem
Please pull the latest images and try again! It seems that you encounter errors in docker network, maybe a reboot or a upgrade of docker can solve the problem
Thanks for the reply. Yes, your are right I have the network issue on my server because I user a http-proxy to connect to the internet. I meet the network issue when I tried to build to dockerfile with docker-compose. The network issue is so annoying so that's why I used my laptop to build and upload images to the server.
I was thinking that after I uploading the images to server, there is not internet required to process with my local deployed LLM. But I would like to ask that why do we need internet for playing locally? Or do we have another way to deal with it? Thanks in advance
Please pull the latest images and try again! It seems that you encounter errors in docker network, maybe a reboot or a upgrade of docker can solve the problem
Thanks for the reply. Yes, your are right I have the network issue on my server because I user a http-proxy to connect to the internet. I meet the network issue when I tried to build to dockerfile with docker-compose. The network issue is so annoying so that's why I used my laptop to build and upload images to the server.
I was thinking that after I uploading the images to server, there is not internet required to process with my local deployed LLM. But I would like to ask that why do we need internet for playing locally? Or do we have another way to deal with it? Thanks in advance
The internet access is required to installing depends and allows XAgent browse website. The docker is also required to make XAgent have full control of the shell, like install missing packages automatically, setup services like database/website.
Please pull the latest images and try again! It seems that you encounter errors in docker network, maybe a reboot or a upgrade of docker can solve the problem
Thanks for the reply. Yes, your are right I have the network issue on my server because I user a http-proxy to connect to the internet. I meet the network issue when I tried to build to dockerfile with docker-compose. The network issue is so annoying so that's why I used my laptop to build and upload images to the server.
I was thinking that after I uploading the images to server, there is not internet required to process with my local deployed LLM. But I would like to ask that why do we need internet for playing locally? Or do we have another way to deal with it? Thanks in advance
After you setup the docker containers, it should be fine to run the XAgent. But as you mentioned that you set up local deployed LLM, please make sure the model support function calling
or run our XAgentGen with XAgentLlama(34B is recommanded). Hope you a pleasure day : ) !
Please pull the latest images and try again! It seems that you encounter errors in docker network, maybe a reboot or a upgrade of docker can solve the problem
Thanks for the reply. Yes, your are right I have the network issue on my server because I user a http-proxy to connect to the internet. I meet the network issue when I tried to build to dockerfile with docker-compose. The network issue is so annoying so that's why I used my laptop to build and upload images to the server. I was thinking that after I uploading the images to server, there is not internet required to process with my local deployed LLM. But I would like to ask that why do we need internet for playing locally? Or do we have another way to deal with it? Thanks in advance
After you setup the docker containers, it should be fine to run the XAgent. But as you mentioned that you set up local deployed LLM, please make sure the model support
function calling
or run our XAgentGen with XAgentLlama(34B is recommanded). Hope you a pleasure day : ) !
Thanks, you are so kind. I have two questions, the first one is now I use http://url:port/v1 for model base, but there is also http://url:port/v1/chat/completions, which one do you support. The second question is that if there is a safe way to change 8080 port?
Please pull the latest images and try again! It seems that you encounter errors in docker network, maybe a reboot or a upgrade of docker can solve the problem
Thanks for the reply. Yes, your are right I have the network issue on my server because I user a http-proxy to connect to the internet. I meet the network issue when I tried to build to dockerfile with docker-compose. The network issue is so annoying so that's why I used my laptop to build and upload images to the server. I was thinking that after I uploading the images to server, there is not internet required to process with my local deployed LLM. But I would like to ask that why do we need internet for playing locally? Or do we have another way to deal with it? Thanks in advance
After you setup the docker containers, it should be fine to run the XAgent. But as you mentioned that you set up local deployed LLM, please make sure the model support
function calling
or run our XAgentGen with XAgentLlama(34B is recommanded). Hope you a pleasure day : ) !Thanks, you are so kind. I have two questions, the first one is now I use http://url:port/v1 for model base, but there is also http://url:port/v1/chat/completions, which one do you support. The second question is that if there is a safe way to change 8080 port?
If your api support openai official schema, try to use http://url:port/v1. If you does not use command line to run XAgent, you can just close port mapping for toolserver in docker-compose.yml
. Else you should you should modify docker-compose.yml
and assets/config.yml
:
ToolServerManager
in docker-compose.yml
selfhost_toolserver_url
in assets/config.yml
Note that XAgent support remote ToolServer, thus you can change selfhost_toolserver_url
to the url that provide toolserver access.Please pull the latest images and try again! It seems that you encounter errors in docker network, maybe a reboot or a upgrade of docker can solve the problem
Thanks for the reply. Yes, your are right I have the network issue on my server because I user a http-proxy to connect to the internet. I meet the network issue when I tried to build to dockerfile with docker-compose. The network issue is so annoying so that's why I used my laptop to build and upload images to the server. I was thinking that after I uploading the images to server, there is not internet required to process with my local deployed LLM. But I would like to ask that why do we need internet for playing locally? Or do we have another way to deal with it? Thanks in advance
After you setup the docker containers, it should be fine to run the XAgent. But as you mentioned that you set up local deployed LLM, please make sure the model support
function calling
or run our XAgentGen with XAgentLlama(34B is recommanded). Hope you a pleasure day : ) !Thanks, you are so kind. I have two questions, the first one is now I use http://url:port/v1 for model base, but there is also http://url:port/v1/chat/completions, which one do you support. The second question is that if there is a safe way to change 8080 port?
If your api support openai official schema, try to use http://url:port/v1. If you does not use command line to run XAgent, you can just close port mapping for toolserver in
docker-compose.yml
. Else you should you should modifydocker-compose.yml
andassets/config.yml
:
- Change 8080 port mapping for
ToolServerManager
indocker-compose.yml
- Change 8080 port of
selfhost_toolserver_url
inassets/config.yml
Note that XAgent support remote ToolServer, thus you can changeselfhost_toolserver_url
to the url that provide toolserver access.
Thank you so much, here is my configuration on the assets/config.yml file
chatglm3-6b:
- api_key: None
api_base: http://10.86.13.180:8098/v1
api_type: open_ai
model: chatglm3-6b
Besides, may I ask that why is that if I use the GUI way to start XAgent I don't need a port mapping and if I run with command with run.py then I need a port mapping? How could I access everything if I use the GUI? Hope to hear from you
The XAgentServer connect other container through a docker network bridge, which does not require package transmission over host networks. Thus you does not need a port forward. The current version of Web GUI has support almost every feature of XAgent. If you have more question, please open a new discussion or pull request.
Issue Description / 问题描述
When I follow the instruction to start to run the process with 'python run.py --task "put your task here" --model "chatglm3-6b" --config_file "assets/config.yml"' and I get the error
Steps to Reproduce / 复现步骤
I firstly do 'docker-compose up' to do the initialization by the documenation and execute run.py
Expected Behavior / 预期行为
I expect the agent will do the process correctly and return me the correct powerpoint file
Environment / 环境信息
Error Screenshots or Logs / 错误截图或日志
Additional Notes / 其他备注
If you have any additional information or notes, please add them here. / 如果有其他补充信息,请在此处添加。