diff --git a/README.md b/README.md
index 2342f814a..efe0247cf 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,7 @@ AppBuilder-SDK不仅提供了百度智能云提供的基础能力组件,同时
## 如何安装AppBuilder-SDK
-#### 百度智能云千帆AppBuilder-SDK 最新版本 0.9.6 (2024-10-26)
+#### 百度智能云千帆AppBuilder-SDK 最新版本 0.9.7 (2024-11-27)
百度智能云千帆AppBuilder-SDK 更新记录&最新特性请查阅我们的[版本说明](/docs/DevelopGuide/ChangeLog/changelog.md)
diff --git a/docs/DevelopGuide/ChangeLog/changelog.md b/docs/DevelopGuide/ChangeLog/changelog.md
index 71dbee66b..18169794e 100644
--- a/docs/DevelopGuide/ChangeLog/changelog.md
+++ b/docs/DevelopGuide/ChangeLog/changelog.md
@@ -63,4 +63,8 @@
* 更新AppBuilderClient,简化Java & Go语言使用ToolCall的方式
* 新增长文档内容理解组件
* 优化requirements,去除部分组件的版本限制
- * 简化报错堆栈,去除冗余的Trace信息
\ No newline at end of file
+ * 简化报错堆栈,去除冗余的Trace信息
+* **2024.11.27 v0.9.7版本发布** [ReleaseNote](https://github.com/baidubce/app-builder/releases/tag/0.9.7)
+ * 新增TreeMind组件
+ * 新增工作流Agent回复“信息收集节点”功能,支持多轮对话事件处理
+ * Python的ToolCall功能支持通过函数定义、装饰器的形式等生成ToolCall参数
diff --git a/docs/DevelopGuide/HowToContributeCode/README.md b/docs/DevelopGuide/HowToContributeCode/README.md
index 6c96406e8..9be7f6d31 100644
--- a/docs/DevelopGuide/HowToContributeCode/README.md
+++ b/docs/DevelopGuide/HowToContributeCode/README.md
@@ -10,7 +10,7 @@
当前已集成Python版本AppBuilder-SDK 0.9.4及相关依赖,方便开发者融入个人已有的大模型应用程序。此部分仍在不断建设中。
二次开发可以采用官方提供的开发镜像,便于快速安装各种依赖库。也可在镜像中使用已安装的`appbuilder_trace_server`、`appbuilder_bce_deploy`工具。
``` shell
-docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-devel:0.9.6
+docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-devel:0.9.7
```
### 消息(Message)
diff --git a/docs/QuickStart/StartFirstAINativeApplication/install.md b/docs/QuickStart/StartFirstAINativeApplication/install.md
index 99dbe93e5..e87a66efc 100644
--- a/docs/QuickStart/StartFirstAINativeApplication/install.md
+++ b/docs/QuickStart/StartFirstAINativeApplication/install.md
@@ -16,23 +16,23 @@ pip install --upgrade appbuilder-sdk
com.baidubce
appbuilder
- 0.9.6
+ 0.9.7
```
#### Gradle
对于Kotlin DSL,在build.gradle.kts的dependencies中添加依赖
```kotlin
-implementation("com.baidubce:appbuilder:0.9.6")
+implementation("com.baidubce:appbuilder:0.9.7")
```
对于Groovy DSL,在build.gradle的dependencies中添加依赖
```groovy
-implementation 'com.baidubce:appbuilder:0.9.6'
+implementation 'com.baidubce:appbuilder:0.9.7'
```
#### 本地导入
-点击[链接](https://repo1.maven.org/maven2/com/baidubce/appbuilder/0.9.6/appbuilder-0.9.6.jar) 下载Jar包,将Jar包导入到项目目录下。
+点击[链接](https://repo1.maven.org/maven2/com/baidubce/appbuilder/0.9.7/appbuilder-0.9.7.jar) 下载Jar包,将Jar包导入到项目目录下。
### Go (仅支持调用端到端应用)
-> 支持Go 1.18.1以上版本,当前最新tag为0.9.8
+> 支持Go 1.18.1以上版本,当前最新tag为0.9.9
```shell
go get github.com/baidubce/app-builder/go/appbuilder
@@ -40,5 +40,5 @@ go get github.com/baidubce/app-builder/go/appbuilder
### Docker (当前仅集成了Python版本AppBuilder-SDK)
``` shell
-docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-devel:0.9.6
+docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-devel:0.9.7
```
diff --git a/docs/README_en.md b/docs/README_en.md
index bd3eaeb3f..be73a170a 100644
--- a/docs/README_en.md
+++ b/docs/README_en.md
@@ -47,7 +47,7 @@ Baidu AI Cloud Qianfan AppBuilder-SDK offers the following essential features fo
## How to install?
-#### The latest version of Baidu AI Cloud Qianfan AppBuilder SDK is 0.9.6 (2024-10-26)
+#### The latest version of Baidu AI Cloud Qianfan AppBuilder SDK is 0.9.7 (2024-11-27)
Baidu AI Cloud Qianfan AppBuilder SDK ReleaseNote please refer to our [version description](/docs/DevelopGuide/ChangeLog/changelog.md)
diff --git a/docs/README_ja.md b/docs/README_ja.md
index 7f2bb10a9..fcbb5d41a 100644
--- a/docs/README_ja.md
+++ b/docs/README_ja.md
@@ -44,7 +44,7 @@ Baidu AI Cloud Qianfan AppBuilder-SDKは、AIアプリケーション開発者
## どのようにインストールしますか?
-#### Baidu AI Cloud Qianfan AppBuilder SDKの最新バージョンは0.9.6(2024-10-26)です
+#### Baidu AI Cloud Qianfan AppBuilder SDKの最新バージョンは0.9.7(2024-11-27)です
Baidu AI Cloud Qianfan AppBuilder SDKのリリースノートについては、[バージョン説明](DevelopGuide/ChangeLog/changelog.md)をご覧ください。
diff --git a/docs/Tools/SphinxSh/source/conf.py b/docs/Tools/SphinxSh/source/conf.py
index 5b376cfcf..166fc9162 100644
--- a/docs/Tools/SphinxSh/source/conf.py
+++ b/docs/Tools/SphinxSh/source/conf.py
@@ -14,7 +14,7 @@
project = 'Appbuilder-SDK'
copyright = '2024, baidubce'
author = 'baidubce'
-release = '0.9.6'
+release = '0.9.7'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
diff --git a/go/appbuilder/config.go b/go/appbuilder/config.go
index 0581e9908..15247d115 100644
--- a/go/appbuilder/config.go
+++ b/go/appbuilder/config.go
@@ -127,7 +127,7 @@ func (t *SDKConfig) authHeader() http.Header {
platform = "unknown"
}
header.Set("X-Appbuilder-Origin", "appbuilder_sdk")
- header.Set("X-Appbuilder-Sdk-Config", "{\"appbuilder_sdk_version\":\"0.9.8\",\"appbuilder_sdk_language\":\"go\",\"appbuilder_sdk_platform\":\""+platform+"\"}")
+ header.Set("X-Appbuilder-Sdk-Config", "{\"appbuilder_sdk_version\":\"0.9.9\",\"appbuilder_sdk_language\":\"go\",\"appbuilder_sdk_platform\":\""+platform+"\"}")
header.Set("X-Appbuilder-Request-Id", uuid.New().String())
return header
}
diff --git a/java/pom.xml b/java/pom.xml
index 0f8c24880..0f30a70a5 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -6,7 +6,7 @@
com.baidubce
appbuilder
- 0.9.6
+ 0.9.7
jar
app-builder
diff --git a/java/src/main/java/com/baidubce/appbuilder/base/utils/http/HttpClient.java b/java/src/main/java/com/baidubce/appbuilder/base/utils/http/HttpClient.java
index 73bf9082f..507473f48 100644
--- a/java/src/main/java/com/baidubce/appbuilder/base/utils/http/HttpClient.java
+++ b/java/src/main/java/com/baidubce/appbuilder/base/utils/http/HttpClient.java
@@ -105,7 +105,7 @@ public ClassicHttpRequest createPostRequest(String url, HttpEntity entity) {
? System.getenv("APPBUILDER_SDK_PLATFORM")
: "unknown";
httpPost.setHeader("X-Appbuilder-Sdk-Config",
- "{\"appbuilder_sdk_version\":\"0.9.6\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ "{\"appbuilder_sdk_version\":\"0.9.7\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ platform + "\"}");
httpPost.setHeader("X-Appbuilder-Request-Id", java.util.UUID.randomUUID().toString());
httpPost.setEntity(entity);
@@ -134,7 +134,7 @@ public ClassicHttpRequest createPostRequestV2(String url, HttpEntity entity) {
? System.getenv("APPBUILDER_SDK_PLATFORM")
: "unknown";
httpPost.setHeader("X-Appbuilder-Sdk-Config",
- "{\"appbuilder_sdk_version\":\"0.9.6\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ "{\"appbuilder_sdk_version\":\"0.9.7\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ platform + "\"}");
httpPost.setHeader("X-Appbuilder-Request-Id", java.util.UUID.randomUUID().toString());
httpPost.setEntity(entity);
@@ -158,7 +158,7 @@ public ClassicHttpRequest createGetRequestV2(String url, Map map
? System.getenv("APPBUILDER_SDK_PLATFORM")
: "unknown";
httpGet.setHeader("X-Appbuilder-Sdk-Config",
- "{\"appbuilder_sdk_version\":\"0.9.6\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ "{\"appbuilder_sdk_version\":\"0.9.7\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ platform + "\"}");
httpGet.setHeader("X-Appbuilder-Request-Id", java.util.UUID.randomUUID().toString());
String headers = "headers: \n";
@@ -184,7 +184,7 @@ public ClassicHttpRequest createDeleteRequestV2(String url, Map
? System.getenv("APPBUILDER_SDK_PLATFORM")
: "unknown";
httpDelete.setHeader("X-Appbuilder-Sdk-Config",
- "{\"appbuilder_sdk_version\":\"0.9.6\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ "{\"appbuilder_sdk_version\":\"0.9.7\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ platform + "\"}");
httpDelete.setHeader("X-Appbuilder-Request-Id", java.util.UUID.randomUUID().toString());
String headers = "headers: \n";
diff --git a/python/__init__.py b/python/__init__.py
index c9796bb84..8fac7ff3a 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -13,7 +13,7 @@
# limitations under the License.
-__version__ = '0.9.6'
+__version__ = '0.9.7'
import os
import sys
diff --git a/python/utils/bce_deploy.py b/python/utils/bce_deploy.py
index 027207ab4..617b2060b 100644
--- a/python/utils/bce_deploy.py
+++ b/python/utils/bce_deploy.py
@@ -113,8 +113,8 @@ def build_user_data(self):
+ f"rm {self.tar_file_name}\\n"
+ f"chmod a+x {self.run_script_name}\\n"
+ "yum install -y docker\\n"
- + "docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-cloud:0.9.6\\n"
- + f"docker run -itd --net=host -v /root/test:{workspace} --name appbuilder-sdk registry.baidubce.com/appbuilder/appbuilder-sdk-cloud:0.9.6{workspace}/{self.run_script_name}"
+ + "docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-cloud:0.9.7\\n"
+ + f"docker run -itd --net=host -v /root/test:{workspace} --name appbuilder-sdk registry.baidubce.com/appbuilder/appbuilder-sdk-cloud:0.9.7{workspace}/{self.run_script_name}"
)
return user_data
diff --git a/setup.py b/setup.py
index 71be5f788..3fe0c4edc 100755
--- a/setup.py
+++ b/setup.py
@@ -54,7 +54,7 @@
setup(
name="appbuilder-sdk",
# NOTE(chengmo): 修改此版本号时,请注意同时修改 __init__.py 中的 __version__
- version="0.9.6",
+ version="0.9.7",
author="dongdaxiang",
author_email="dongdaxiang@baidu.com",
packages=packages,