Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ai
/
ai-workflow
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 757496e7
authored
Jun 11, 2026
by
sunqi02
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(query-knowledge): 修复答案提取逻辑以支持字符串类型
1 parent
a5f1e6c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
workspace/agent-admin/backend/skills/query-knowledge/scripts/query_knowledge.py
workspace/agent-admin/backend/skills/query-knowledge/scripts/query_knowledge.py
View file @
757496e
...
...
@@ -65,7 +65,10 @@ def main():
sys
.
exit
(
1
)
for
item
in
answers
:
text
=
item
.
get
(
"text"
,
""
)
if
isinstance
(
item
,
str
):
text
=
item
else
:
text
=
item
.
get
(
"text"
,
""
)
if
text
:
print
(
text
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment