chore: 更新版本号至 v0.6.0.beta2,修复历史对话上下文配置问题

This commit is contained in:
Wenjie Zhang 2026-03-27 01:42:19 +08:00
parent 5fe367b77b
commit 5bd8aa0b2d
10 changed files with 16 additions and 16 deletions

View File

@ -43,7 +43,7 @@
<details>
<summary>[2026/03/26] v0.6.0.beta1 版本发布</summary>
<summary>[2026/03/26] v0.6.0.beta2 版本发布</summary>
### 新增
@ -55,7 +55,7 @@
- 新增基于沙盒的知识库只读映射,按“用户可访问知识库 ∩ 当前 Agent 已启用知识库”暴露原始文件与解析后的 Markdown [#576](https://github.com/xerrors/Yuxi-Know/issues/576)
- 重构附件系统,直接集成在了沙盒文件系统中,附件上传后直接落盘到沙盒挂载目录
- 优化前端流式消息体验:新增通用 `useStreamSmoother` 调度层,统一平滑 Agent runs SSE、普通聊天流与审批恢复流中的 `loading` chunk
- 重构前端 Agent 路由结构及表现形式,体验更加顺畅,切换更加自然(类 chatgpt 体验
- 重构 Agent 前后端对话路由结构及表现形式,体验更加顺畅,切换更加自然(API 接口变更
- 新增 API Key 认证功能,支持外部系统通过 API Key 调用系统服务 [#502](https://github.com/xerrors/Yuxi-Know/issues/502)
- 新增 subagents 的支持,支持在 web 中添加 subagents以及两个内置的子智能体
- 新增内置Skills reporter并移除内置 Agent reporter数据库报表将由 Skills 完成
@ -69,6 +69,7 @@
- 修复 Lightrag 知识库修改配置后,模型没有切换的 bug [#580](https://github.com/xerrors/Yuxi-Know/issues/580)
- 修复数据库获取接口未过滤文件字段而导致的数据包过大的情况
- 修复 Thread 未绑定 agent_config_id 导致的历史对话切换后上下文配置错乱的问题
</details>
@ -150,7 +151,7 @@
克隆代码,并初始化
```
git clone --branch v0.6.0.beta1 --depth 1 https://github.com/xerrors/Yuxi-Know.git
git clone --branch v0.6.0.beta2 --depth 1 https://github.com/xerrors/Yuxi-Know.git
cd Yuxi-Know
# Linux/macOS

View File

@ -7,7 +7,7 @@ from concurrent.futures import ThreadPoolExecutor # noqa: E402
from yuxi.config import config as config # noqa: E402
__version__ = "0.6.0.beta1"
__version__ = "0.6.0.beta2"
if os.getenv("YUXI_SKIP_APP_INIT") != "1":
from yuxi.knowledge import graph_base as graph_base # noqa: E402

View File

@ -9,6 +9,7 @@ PROMPT = """
- /home/gem/user-data/uploads/用于存放用户上传的文件
如果启用了知识库除了使用知识库工具之外
当需要精准获取信息的时候或者 query_kb 中没有找到相关的内容还可以直接访问知识库文件系统 路径为 /home/gem/kbs/来获取信息
当需要精准获取信息的时候或者 query_kb 中没有找到相关的内容还可以直接访问知识库文件系统
路径为 /home/gem/kbs/来获取信息
源文件可能无法解析可以在 /home/gem/kbs/<db_name>/parsed/ 中找到解析后的 markdown 文件
"""

View File

@ -56,6 +56,6 @@ actions:
# 页脚信息
footer:
copyright: "© 江南语析 2026 v0.6.0.beta1"
copyright: "© 江南语析 2026 v0.6.0.beta2"
user_agreement_url: "/protocols/user-agreement.template.html"
privacy_policy_url: "/protocols/privacy-policy.template.html"

View File

@ -1,6 +1,6 @@
[project]
name = "yuxi"
version = "0.6.0.beta1"
version = "0.6.0.beta2"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"

View File

@ -1,6 +1,6 @@
[project]
name = "yuxi-workspace"
version = "0.6.0.beta1"
version = "0.6.0.beta2"
description = "基于大模型的智能知识库与知识图谱智能体开发平台,融合了 RAG 技术与知识图谱技术,基于 LangGraph v1 + Vue.js + FastAPI + LightRAG 架构构建"
readme = "README.md"
requires-python = ">=3.12,<3.14"

View File

@ -5676,12 +5676,12 @@ wheels = [
[[package]]
name = "yuxi"
version = "0.6.0.beta1"
version = "0.6.0.beta2"
source = { virtual = "package/yuxi" }
[[package]]
name = "yuxi-workspace"
version = "0.6.0.beta1"
version = "0.6.0.beta2"
source = { virtual = "." }
dependencies = [
{ name = "agent-sandbox" },

View File

@ -20,7 +20,7 @@
```bash
# 克隆最新版本
git clone --branch v0.6.0.beta1 --depth 1 https://github.com/xerrors/Yuxi-Know.git
git clone --branch v0.6.0.beta2 --depth 1 https://github.com/xerrors/Yuxi-Know.git
cd Yuxi-Know
```

View File

@ -1,6 +1,6 @@
{
"name": "yuxi-web",
"version": "0.6.0.beta1",
"version": "0.6.0.beta2",
"private": true,
"scripts": {
"dev": "vite",

View File

@ -90,8 +90,7 @@ export const agentApi = {
* @param {string} threadId - 会话ID
* @returns {Promise} - 历史消息
*/
getAgentHistory: (threadId) =>
apiGet(`/api/chat/thread/${threadId}/history`),
getAgentHistory: (threadId) => apiGet(`/api/chat/thread/${threadId}/history`),
/**
* 获取指定会话的 AgentState
@ -99,8 +98,7 @@ export const agentApi = {
* @param {string} threadId - 会话ID
* @returns {Promise} - AgentState
*/
getAgentState: (threadId) =>
apiGet(`/api/chat/thread/${threadId}/state`),
getAgentState: (threadId) => apiGet(`/api/chat/thread/${threadId}/state`),
/**
* Submit feedback for a message