feat(workspace): unify file tools and add directory-bound projects - #2
Merged
Yuang-Deng merged 4 commits intoSep 15, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
功能
将工作区文件操作统一到 LazyLLM 的 FileSystemToolkit,并为本机目录增加独立项目归属。用户选择目录后,可在首条消息发送时原子创建或复用项目、创建会话并绑定目录;取消草稿不产生空项目。侧栏统一展示「对话组和项目」,分别使用对话气泡和文件夹图标。
shell,移除旧download_file,同步提示词、展示模板和子模块版本。conversation_metadata模型配置;标题与整理摘要统一使用默认对话模型,忽略历史废弃配置并拒绝继续保存或共享。补齐知识库读取、邮件草稿展示模板。目标分支为
feature/newWorkZone,供 LazyAGI#710 集成。依赖子模块 PR: YuZou-coding/LazyLLM#1 ,建议先合入子模块。已合并目标分支
40cfa727并解决文件工具、侧栏和生成文件冲突,合并提交为b30553ad。验证
本次剩余本地修改提交:主仓库
e68294ed,子模块621e507a。go test ./chat ./modelconfig ./modelprovider通过。以下为项目功能及目标分支合并验证:
均在现有开发容器中运行:
go test ./conversationgroup ./chat ./common通过,合并目标分支后再次通过。go test ./migrate -count=1配合 PostgreSQL 测试服务通过,覆盖两种数据库升级、回退、数据保留和聚合路径。验证边界与保留事项
runtime_models.inner.yaml按仓库规则保留在本地。