Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
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
poc
poc-api
Commits
70f6f19f
Commit
70f6f19f
authored
May 12, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:插件文件缺失异常
parent
d68e8e1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
AgentApplicationTools.java
...om/poc/agent_application/utils/AgentApplicationTools.java
+3
-1
No files found.
src/main/java/cn/com/poc/agent_application/utils/AgentApplicationTools.java
View file @
70f6f19f
...
@@ -174,7 +174,9 @@ public class AgentApplicationTools {
...
@@ -174,7 +174,9 @@ public class AgentApplicationTools {
}
}
query
=
"用户输入:"
+
query
+
"\n"
;
query
=
"用户输入:"
+
query
+
"\n"
;
if
(
CollectionUtils
.
isNotEmpty
(
fileUrls
))
{
if
(
CollectionUtils
.
isNotEmpty
(
fileUrls
))
{
query
=
query
+
"用户上传文件地址:"
+
JsonUtils
.
serialize
(
fileUrls
)
+
"\n"
+
"文件格式:"
+
fileUrls
.
get
(
0
).
substring
(
fileUrls
.
get
(
0
).
lastIndexOf
(
"."
))
+
"\n"
;
query
=
query
+
"用户上传文件地址:"
+
JsonUtils
.
serialize
(
fileUrls
)
+
"\n"
+
"文件格式:"
+
fileUrls
.
get
(
0
).
substring
(
fileUrls
.
get
(
0
).
lastIndexOf
(
"."
))
+
"\n"
;
}
else
{
query
=
query
+
"用户上传文件地址:无\n"
+
"文件格式:无\n"
;
}
}
List
<
Tool
>
deductionTools
=
new
ArrayList
<>();
List
<
Tool
>
deductionTools
=
new
ArrayList
<>();
...
...
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