Skip to content

Commit 3fa282a

Browse files
bennychenbenero
authored andcommitted
feat: 升级智能体模板版本至 1.0.2 --story=121422205
1 parent 281a0b6 commit 3fa282a

File tree

7 files changed

+38
-40
lines changed

7 files changed

+38
-40
lines changed

docs/release.md

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,34 @@
1-
# Release Note - 1.0.2rc3
1+
# Release Note - 1.0.2
22
**发布日期**: 2026-01-14
33

44
## 核心依赖包
55
- aidev-agent==1.0.8.post1
6-
- aidev-ai-blueking==1.3.2b5
7-
- aidev-bkplugin==1.0.12
8-
- aidev-wxbot==1.0.9
9-
10-
### 🛠️ 优化改进
11-
- 关联智能体的快捷指令支持修改别名
12-
- 划词支持开关
13-
14-
15-
# Release Note - 1.0.2rc2
16-
**发布日期**: 2026-01-06
17-
18-
## 核心依赖包
19-
- aidev-agent==1.0.8
20-
- aidev-ai-blueking==1.3.0
21-
- aidev-bkplugin==1.0.12
6+
- aidev-ai-blueking==1.3.2
7+
- aidev-bkplugin==1.0.13
228
- aidev-wxbot==1.0.9
239

10+
## aidev-agent
2411
### 🛠️ 优化改进
25-
- 修复快捷指令智能体角色内容缺失的问题
26-
- 修复 stream 流中 event 可能被自动抛出的问题
12+
- 优化调用MCP工具报错显示
13+
- 调整默认缓存配置为本地文件,减少数据库压力
14+
- 修改智能体二开role_prompt配置方式
15+
- 修复快捷指令智能体角色内容缺失的问题
16+
- 修复 stream 流中 event 可能被自动抛出的问题
2717

18+
## aidev--ai-blueking
19+
### ✨ 新增功能
20+
- 关联智能体的快捷指令支持修改别名
21+
- 新增划词开关配置
2822

29-
# Release Note - 1.0.2rc1
30-
**发布日期**: 2026-01-04
23+
## aidev-bkplugin
24+
### ✨ 新增功能
25+
- 接口新增 trace id 返回
3126

3227
## 智能体模板
33-
3428
### 🛠️ 优化改进
3529
- 修改默认缓存配置为本地文件,减少数据库压力
3630

31+
3732
# Release Note - 1.0.1
3833
**发布日期**: 2025-12-31
3934

src/plugins/aidev_bkplugin/aidev_bkplugin/views/builtin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,23 @@ def get_bkapi_authorization_info(request: Request) -> str:
5656
def finalize_response(self, request, response, *args, **kwargs):
5757
# 目前仅对 Restful Response 进行处理
5858
if isinstance(response, Response):
59+
trace_id = getattr(request, "otel_trace_id", None)
5960
if is_success(response.status_code):
6061
response.status_code = status.HTTP_200_OK
6162
response.data = {
6263
"result": True,
6364
"data": response.data,
6465
"code": "success",
6566
"message": "ok",
67+
"trace_id": trace_id,
6668
}
6769
else:
6870
response.data = {
6971
"result": False,
7072
"data": None,
7173
"code": f"{response.status_code}",
7274
"message": response.data,
75+
"trace_id": trace_id,
7376
}
7477
return super().finalize_response(request, response, *args, **kwargs)
7578

src/plugins/aidev_bkplugin/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "aidev-bkplugin"
3-
version = "1.0.12"
3+
version = "1.0.13"
44
description = "AiDev Agent Bkplugin builtin functions"
55
readme = "readme.md"
66
requires-python = ">=3.11.9, <4"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.2rc3
1+
1.0.2

template/{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ readme = "readme.md"
66
authors = [{ name = "blueking" }]
77
requires-python = "~=3.11.9"
88
dependencies = [
9-
"aidev-agent==1.0.8",
10-
"aidev-ai-blueking>=1.3.0,<2.0",
11-
"aidev-bkplugin>=1.0.12,<1.1",
9+
"aidev-agent==1.0.8.post1",
10+
"aidev-ai-blueking==1.3.2",
11+
"aidev-bkplugin==1.0.13",
1212
"aidev-wxbot>=1.0.9,<1.1",
1313
"bk-plugin-framework>=2.3.3,<2.4.0",
1414
"bkapi-bk-apigateway==1.0.12",

template/{{cookiecutter.project_name}}/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
aidev-agent==1.0.8.post1
22
aidev-ai-blueking==1.3.2
3-
aidev-bkplugin==1.0.12
3+
aidev-bkplugin==1.0.13
44
aidev-wxbot==1.0.9
55
aiohappyeyeballs==2.6.1
66
aiohttp==3.13.2

template/{{cookiecutter.project_name}}/uv.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)