Skip to content

Commit 5f2773e

Browse files
luyaxiAL-377sailaodaChengFaizhpeng24-tsinghua
authored
Release v1.0.0 (#237)
* ADD:XAgentGen for v1.0 (#224) * ADD:XAgent-Server v1.0 (#226) * fix: remove source (#228) * Fix: openai v1 support&run.py fix * Fix: azure openai v1 support (#231) * Fix: infinite function call refine * Fix: docker hub support (#232) * CHANGE: server readme.md * ADD: select toolserver config file on startup * Fix: dependency fixs * Fix: modify user and dockerfile (#234) * Fix: update readme and docker-compose.yml * ADD: XAgentGen images * Fix: modify health interval time (#236) * Mod: changelog for release v1.0.0 --------- Co-authored-by: Aidan Lew <[email protected]> Co-authored-by: wuyesai <[email protected]> Co-authored-by: 郑辉 <[email protected]> Co-authored-by: zhoupeng <[email protected]>
1 parent 5ffd030 commit 5f2773e

File tree

239 files changed

+11034
-26989
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+11034
-26989
lines changed

CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [1.0.0] - 2023-11-21
8+
9+
### Added
10+
- Offical release of XAgent Container Images on DockerHub, now you can just download and play XAgent, see our dockerhub [page](https://hub.docker.com/u/xagentteam) for more information.
11+
- Localhost models [XAgentLlama-7B-preview](https://huggingface.co/XAgentTeam/XAgentLlama-7B-preview), [XAgentLlama-34B-preview](https://huggingface.co/XAgentTeam/XAgentLLaMa-34B-preview) developped for XAgent is now available on HuggingFace, click [here](https://huggingface.co/collections/XAgentTeam/xagentllm-655ae4091c419bb072940e74) to learn more.
12+
- **XAgentGen** is released to enhance the usability and stability of Localhost models for XAgent. Check out the [XAgentGen](XAgentGen/README.md) for more details.
13+
- **WebUI** is updated! Now you can browse files in workspace! **History replay** is also available now!
14+
- Mysql integration for data management, including runtime interactive data and running records.
15+
- Redis integration for managing the state of components during interaction processes.
16+
- Docker and initialization for Mysql and Redis included within the project setup.
17+
- New exception handling processes, with custom exception classes for different runtime errors.
18+
- Session sharing feature, allowing users to share their sessions with the community.
19+
20+
### Changed
21+
22+
- Removed some global variables, now using `XAgent.core.XAgentCoreComponents` for better modularity and encapsulation.
23+
- Overhauled the project structure of XAgentServer for improved organization and maintainability.
24+
25+
### Removed
26+
27+
- XAgentIO.
28+
- Local file storage mode and its support mechanisms.
29+
30+
### Fixed
31+
32+
- Fix various bugs in `XAgentServer` as reported in project issues.
33+
34+
## [0.1.0] - 2023-10-16
35+
36+
- Initial setup and integration of the `Toolserver`, `XAgent`, `XAgentIO`, `XAgentServer`, and `XAgentWeb` components.

LICENSE

-201
This file was deleted.

README.md

+16-11
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,25 @@ You can also easily add new tools to ToolServer to enhance XAgent's abilities.
7777

7878
ToolServer is where XAgent's action takes place. It is a docker container that provides a safe environment for XAgent to run.
7979
So you should install `docker` and `docker-compose` first.
80-
After that, you should build the docker image for ToolServer and start the docker container.
80+
Then, you need to build the ToolServer image. In the `ToolServer` directory, you have two ways to build an image of our service:
81+
You can build a docker network by pulling the image from docker hub by running the following command:
8182
```bash
82-
docker-compose up --build
83+
docker compose up
84+
```
85+
Or you can build an image from local sources by running the following command:
86+
```bash
87+
docker compose build
88+
docker compose up
8389
```
8490
This will build the image for the ToolServer and start the ToolServer's container.
85-
If you want to run the container in the background, please use `docker-compose up -d --build`.
91+
If you want to run the container in the background, please use `docker compose up -d`.
8692
Refer [here](ToolServer/README.md) for detailed information about our ToolServer.
8793

88-
If the ToolServer is updated, you have to rebuild the images:
94+
If the ToolServer is updated, you have to repull/rebuild the images:
95+
```bash
96+
docker compose pull
97+
```
98+
Or
8999
```bash
90100
docker compose build
91101
```
@@ -127,14 +137,9 @@ python run.py --task "put your task here" --model "gpt-4" --config_file "assets/
127137

128138

129139
- Run XAgent with GUI
130-
```bash
131-
## We ran the web ui docker when building the ToolServer network
132-
## run nginx in docker
133-
docker exec XAgent-Server systemctl start nginx
134-
```
135-
Build the docker image for XAgent-Server and start the docker container.
136-
You will see the XAgent Server listening on port `8090`.
140+
The container `XAgent-Server` is started with nginx and a web server listening on port `5173`.
137141
You could visit `http://localhost:5173` to interact with XAgent by using web UI.
142+
The default username and password are `guest` and `xagent`, respectively.
138143
Refer [here](XAgentServer/README.md) for the detailed information about our GUI Demo.
139144

140145
<div><a id="Demo"></a></div>

README_JA.md

+17-11
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,27 @@ ToolServer は、タスクを解決するための強力で安全なツールを
7676

7777
ToolServer は、XAgent の動作が行われる場所です。これは、XAgent が実行するための安全な環境を提供する Docker コンテナになります。
7878
そのため、まず `docker``docker-compose` をインストールする必要があります。
79-
その後、ToolServer 用の docker イメージをビルドし、docker コンテナを起動します。
79+
次に、ToolServerイメージを構築する必要があります。 ToolServer`ディレクトリでは、私たちのサービスのイメージを構築する2つの方法があります:
80+
以下のコマンドを実行することで、docker hubからイメージを取得し、dockerネットワークを構築することができます:
8081
```bash
81-
docker-compose up --build
82+
docker compose up
83+
```
84+
あるいは、以下のコマンドを実行してローカルソースからイメージを構築することもできます:
85+
バッシュ
86+
```bash
87+
docker compose build
88+
docker compose up
8289
```
8390
これによりツールサーバーのイメージが構築され、ツールサーバーのコンテナが起動します。
84-
コンテナをバックグラウンドで実行したい場合は、`docker-compose up -d --build` を使用してください。
91+
コンテナをバックグラウンドで実行したい場合は、`docker compose up -d` を使用してください。
8592
ToolServer の詳細については、[こちら](ToolServer/README.md)を参照してください。
8693

8794
ToolServer が更新された場合、イメージを再構築する必要があります:
8895
```bash
96+
docker compose pull
97+
```
98+
Or
99+
```bash
89100
docker compose build
90101
```
91102

@@ -127,14 +138,9 @@ python run.py --task "put your task here" --model "gpt-4" --config_file "assets/
127138

128139

129140
- GUI で XAgent を実行する
130-
```bash
131-
## ToolServer ネットワークを構築する際に、Web ui docker を実行しました
132-
## docker で nginx を実行する
133-
docker exec XAgent-Server systemctl start nginx
134-
```
135-
XAgent-Server 用の docker イメージをビルドし、docker コンテナを起動します。
136-
ポート `8090` で XAgent Server がリッスンしているのが見えると思います。
137-
Web UI を使用して XAgent と対話するには、`http://localhost:5173` にアクセスしてください。
141+
コンテナ XAgent-Server は、nginxとポート 5173 でリッスンしているウェブサーバーと共に起動しています。
142+
Web UI を使用して XAgent とやり取りするには、http://localhost:5173 を訪れることができます。
143+
デフォルトのユーザー名とパスワードはそれぞれ guest と xagent です。
138144
GUI デモの詳細については、[こちら](XAgentServer/README.md) を参照してください。
139145

140146
<div><a id="デモ"></a></div>

0 commit comments

Comments
 (0)