Commit Graph

1828 Commits

Author SHA1 Message Date
Wenjie Zhang
596eeeaaac feat(workspace): 新增工作区文件内容编辑功能,支持 Markdown 和 TXT 文件的保存与预览 2026-05-04 08:18:37 +08:00
Wenjie Zhang
981fd3170d feat(workspace): 增强工作区功能,新增默认 agents 文件创建及路径管理 2026-05-04 08:18:37 +08:00
Wenjie Zhang
6fcfb090de feat(workspace): 重构工作区组件,优化路径选择和面包屑导航功能
Co-authored-by: Copilot <copilot@github.com>
2026-05-04 08:18:37 +08:00
Wenjie Zhang
9ff925e4df feat(workspace): 增强工作区侧边栏,新增快速访问功能并优化路径选择逻辑 2026-05-04 08:18:37 +08:00
Wenjie Zhang
874767d4bd feat: 替换文件图标并优化文件面板布局 2026-05-04 08:18:37 +08:00
Wenjie Zhang
2c4c2e06c1 docs: 同步修改 CLAUDE.md 2026-05-04 08:18:37 +08:00
Wenjie Zhang
35f09f0bc8 feat: 完善工作区文件管理能力 2026-05-04 08:18:37 +08:00
Wenjie Zhang
c5852617b1 feat: 新增个人工作区预览
新增独立用户级 workspace 只读接口和工作区页面,支持文件列表浏览及宽屏内嵌/窄屏弹窗预览,便于后续扩展团队空间与知识库浏览。

Co-authored-by: Copilot <copilot@github.com>
2026-05-04 08:18:37 +08:00
Wenjie Zhang
943592c654
Merge pull request #672 from guoyi8/fix/llm-model-select
fix(knowledge): 修复语言模型选择后无法回显且提交为空
2026-05-04 08:15:06 +08:00
Wenjie Zhang
250885cb4d fix: 使用 buildLlmInfoPayload 函数构造 llm_info,简化代码并避免空值提交 2026-05-04 08:12:54 +08:00
Wenjie Zhang
887b939eb2
Merge pull request #670 from guoyi8/fix/chunking-token-limit
fix(knowledge): 修复 general parser 分块超限导致 LightRAG 索引失败
2026-05-04 07:46:25 +08:00
郭诣
86904332bc fix(knowledge): 修复语言模型选择后无法回显且提交为空的问题
V2 模型 spec 格式为 provider_id:model_id(冒号分隔),
但 handleLLMSelect 使用斜杠拆分,导致 provider 和 model_name 均为空。
新增 model_spec 字段直接存储完整 spec,抽取 parseModelSpec/buildDisplaySpec
工具函数统一处理 V1/V2 两种格式,消除 3 处重复逻辑。
2026-05-02 01:08:09 +08:00
郭诣
75b5f36f09 fix(knowledge): 修复 general parser 分块超限导致 LightRAG 索引失败
naive_merge 不保证输出 chunk 在 token 上限内,当单行内容超过
chunk_token_num 时会产生超大 chunk,导致 LightRAG 报错
"Chunk token length 3140 exceeds chunk_token_size 1200"。

- nlp.py: 新增 hard_split_by_token_limit 公共硬切分函数
- general.py: 新增 _ensure_chunk_token_limit 兜底保护
- laws.py: 删除本地重复函数,改用 nlp 版本(DRY)
2026-05-01 22:31:58 +08:00
Wenjie Zhang
f7cf7788a5 docs: 优化 Agents.md 参考 https://github.com/forrestchang/andrej-karpathy-skills/blob/main/CLAUDE.md
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 17:46:30 +08:00
Wenjie Zhang
73304c61d9 feat: 调整样式和布局,优化组件视觉效果
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 00:45:15 +08:00
Wenjie Zhang
204e627839 feat: 优化共享设置界面,使用卡片式布局提升用户体验 2026-04-28 22:02:15 +08:00
Wenjie Zhang
bba9bc974f feat: 添加 separator 解析器及相关配置,支持严格分隔功能 Question: 知识库对excel切分无法按行切分
Fixes #664
2026-04-28 20:30:02 +08:00
Wenjie Zhang
f4c56499b9 fix: 中断任务不再加入内存 Question: 启动加载中断的知识库任务状态
Fixes #656
2026-04-27 18:19:39 +08:00
Wenjie Zhang
ebf0ed9975
Merge pull request #660 from supreme0597/fix/model-cache-import
Fix/model cache import
2026-04-27 18:08:47 +08:00
Wenjie Zhang
b98eee45b6 feat: 添加 sandbox.env 文件并在 LocalContainerProvisionerBackend 中加载环境变量 2026-04-27 16:26:48 +08:00
Wenjie Zhang
bfd5170531 fix: 修复 Skills 面板无法展开的问题 2026-04-27 11:21:10 +08:00
Wenjie Zhang
417b1de308 refactor: 将 ExtensionCard 替换为 InfoCard 以统一组件使用 2026-04-27 10:22:41 +08:00
Wenjie Zhang
e9678e32d3 refactor: 删除无用组件 2026-04-27 09:26:16 +08:00
Wenjie Zhang
04db4357b4 fix(config): 修正默认模型为 v2版本
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 09:15:18 +08:00
Wenjie Zhang
701ce09901
Merge pull request #659 from supreme0597/fix/model-select-v2
fix(knowledge): 修复知识库测试问题生成报错 Unknown model provider
2026-04-27 09:11:28 +08:00
supreme0597
e3307b4592 fix(model): 修复刷新模型缓存接口 NameError: model_cache is not defined
refresh_model_cache 函数中引用了 model_cache 但未导入,
该导入仅在 _refresh_model_cache 内部作用域中,外部无法访问。
添加局部 import 解决此问题。
2026-04-27 06:45:34 +08:00
supreme0597
775ac129dc fix(knowledge): 修复知识库测试问题生成报错 Unknown model provider
select_model() 无参调用走了 V1 旧逻辑,无法正确解析 V2 格式的
default_model 配置(如 supreme_newapi:openai)。传入
config.default_model 作为 model_spec 参数,使模型选择走 V2 路径。

影响范围:知识库测试问题生成、知识库描述生成、思维导图生成
2026-04-27 06:36:12 +08:00
Wenjie Zhang
9f1ccf9093 feat(release): 更新版本号至 0.6.2 2026-04-27 02:27:28 +08:00
Wenjie Zhang
ee624513f1 style(format): 格式化代码 2026-04-27 02:24:52 +08:00
Wenjie Zhang
ba7c1299a5 refactor(web): 统一视觉元素,抽象组件优化
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 02:19:01 +08:00
Wenjie Zhang
4b1a90a1d1 feat(docs): 更新文档,添加配置系统详解链接 2026-04-26 21:43:37 +08:00
Wenjie Zhang
7c699cc86f feat(chat): 优化 LangGraph 状态消息保存逻辑,增加错误处理和警告提示
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 21:43:25 +08:00
Wenjie Zhang
97abed8f96 feat(model): 更新 DeepSeek 模型版本至 V4-Flash,调整相关文档和配置
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 21:04:57 +08:00
Wenjie Zhang
a8eb5ab6fe feat(model): 引入 is_v2_spec_format 函数以优化模型规格判断逻辑 2026-04-26 20:59:40 +08:00
Wenjie Zhang
2e0b4a8358 refactor: 增强模型提供程序管理和 UI 组件
- 在 PostgresManager 中添加了用于嵌入和重新排序基本 URL 的新列。
- 更新了模型提供程序数据结构,以包含新的端点。
- 重构了模型提供程序服务和路由器中的凭据状态检查。
- 引入了一个可重用的组件,用于跨组件进行模型状态检查。
- 通过调整页面内边距的 CSS 变量,提高了 UI 的响应速度。
- 重构了模型选择器组件,以利用新的模型状态组件。
- 更新了模型配置视图,以处理响应式编辑模型状态。
- 清理了未使用的代码,并改进了模型状态检查中的错误处理。
2026-04-26 19:59:15 +08:00
Wenjie Zhang
2920cbeec3 Merge branch 'main' into feat/model-config 2026-04-26 18:54:48 +08:00
Wenjie Zhang
9e1cf9e029 fix(knowledge): 修复 index_file 未传递用户自定义入参 params 导致入库参数不生效的 bug 2026-04-26 18:54:45 +08:00
Wenjie Zhang
e3d312059a feat(model): 重构嵌入模型选择器,新增 Rerank 模型选择器,优化模型提供者管理 2026-04-26 18:51:38 +08:00
Wenjie Zhang
f8acc48184 refactor:移除后端和前端的自定义提供程序管理
- 删除了 system_router.py 中用于添加、更新和删除自定义提供程序的端点。
- 从 system_api.js 中移除了自定义提供程序 API 函数。
- 更新了 ModelProvidersComponent.vue,以反映自定义提供程序管理的移除,包括 UI 更改和迁移到新模型配置的提示。
- 清理了 ModelSelectorComponent.vue,移除了旧模型处理和不必要的依赖项。

Co-authored-by: Copilot <copilot@github.com>
2026-04-26 16:24:54 +08:00
Wenjie Zhang
db13abaa63 feat(model): 增强模型配置功能,支持手动添加模型及源字段,优化远端模型加载逻辑 2026-04-26 15:03:20 +08:00
Wenjie Zhang
129f8860c9 Merge branch 'main' into feat/model-config 2026-04-26 00:50:00 +08:00
Wenjie Zhang
66d6e747d9 feat(web): 添加响应式页面内边距变量并更新相关组件样式
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 00:47:30 +08:00
Wenjie Zhang
d177506d15 refactor(models): 重构模型配置[WIP] 2026-04-25 23:58:01 +08:00
Wenjie Zhang
a7d3c0ba2e refactor(chat): 重构聊天侧边栏为 ConversationNavSection
- 删除 ChatSidebarComponent.vue (627行)
- 新增 ConversationNavSection.vue (316行) 实现对话历史导航
- 新增 chatThreads store 管理对话线程状态
- 重构 AppLayout.vue 使用新的侧边栏架构
- 优化 UserInfoComponent 头像加载逻辑与降级处理
- 更新 AgentArtifactsCard 移除未使用的 Eye 图标
2026-04-24 22:44:37 +08:00
GitHub Actions
a3dd2c96fe style: auto-format with ruff [skip ci] 2026-04-24 11:42:53 +00:00
Wenjie Zhang
743b5b03c4
Merge pull request #652 from Flying-Henanese/feat/add-semantic-chunking
feat: 增加基于自然语义的文本切分功能
2026-04-24 19:41:48 +08:00
Wenjie Zhang
be39d118fd chore(release): bump version to 0.6.1
- 单一版本来源:__version__ 改为从 pyproject.toml 动态读取
- Docker Compose 镜像标签环境变量化 (${YUXI_VERSION:-0.6.1})
- info.template.yaml 版权信息支持版本号动态注入
- 测试断言改为动态比较,不再硬编码版本号
- 新增 bump-version.sh 发版脚本,一键同步所有版本位置
- 更新 changelog.md,记录 v0.6.1 变更内容
2026-04-24 19:32:16 +08:00
zhou shujian
2b48190b25 chore: 标准化NLTK数据卷并清理测试文件
- 将docker-compose.yml中的NLTK数据挂载从主机路径改为命名卷,确保跨平台一致性
- 移除测试中生成临时文件的副作用,改为控制台输出切分结果
- 修复语义切分工具中NLTK资源检查逻辑,避免重复下载并提供明确错误提示
- 优化语义切分函数签名,支持embed_fn为None时的退化处理
2026-04-24 16:18:01 +08:00
zhou shujian
32fef0893c fix(knowledge/chunking): 修复列表和数学块切分时丢失上下文的问题
注释掉列表和数学块前的强制切分调用,避免在遇到有序列表、无序列表或数学块时过早中断当前内容块。这确保了列表项和数学公式能够与其前面的标题和段落保持在同一语义单元中,从而保留完整的上下文信息,提高后续检索的准确性。
2026-04-23 11:22:17 +08:00
Wenjie Zhang
ff23ba76b4 fix: 修复交付物卡片长列表展示问题,添加纵向滚动条 Error: 交付物超过10个,会显示不全,没有滚动条
Fixes #651
2026-04-23 09:33:48 +08:00