Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
Ftt_Common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Ftt_Common
Commits
c6d90d06
Commit
c6d90d06
authored
Aug 31, 2026
by
段廷瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref: 打包优化,包含智能体内置知识
parent
954b2011
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
Tools.Agent.dll
AppHome/Tools.Agent.dll
+0
-0
wUploadUpdate.cs
Tools/UI/sys/wUploadUpdate.cs
+9
-1
No files found.
AppHome/Tools.Agent.dll
View file @
c6d90d06
No preview for this file type
Tools/UI/sys/wUploadUpdate.cs
View file @
c6d90d06
...
...
@@ -137,8 +137,16 @@ namespace Tools.UI.sys
/// <returns></returns>
private
bool
IsFileIgnore
(
FileInfo
f
)
{
// Agent 下的默认资源需要随程序发布;其中的 JSON 和无扩展名文件也不能被通用规则过滤。
if
(
f
.
FullName
.
Contains
(
"\\Agent\\dialect\\"
)
||
f
.
FullName
.
Contains
(
"\\Agent\\industry\\"
)
||
f
.
FullName
.
Contains
(
"\\Agent\\prompts\\"
))
{
return
false
;
}
return
f
.
FullName
.
Contains
(
"\\AutoUpdate\\"
)
//剔除自动更新文件
||
f
.
FullName
.
Contains
(
"\\Agent\\"
)
//剔除Agent本地数据目录(配置、历史、索引、
提示词
)
||
f
.
FullName
.
Contains
(
"\\Agent\\"
)
//剔除Agent本地数据目录(配置、历史、索引、
输出等
)
||
f
.
FullName
.
Contains
(
Utils
.
LogPath
)
//日志、
||
f
.
FullName
.
Contains
(
Utils
.
TempPath
)
//临时文件目录
||
f
.
FullName
.
Contains
(
Utils
.
SavePath
)
// 系统预设的用户本地文件目录,需要排除
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment