mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
文档问题: #107
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shanchaobo on GitHub (Jun 18, 2025).
问题描述
获取下一轮建议问题列表接口报错
错误信息
-1 | 2025-06-18 10:01:52.661 ERROR [Dummy-514] [llm_generator.py:114] - Failed to generate suggested questions after answer
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/llm_generator/llm_generator.py", line 110, in generate_suggested_questions_after_answer
api-1 | questions = output_parser.parse(cast(str, response.message.content))
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/llm_generator/output_parser/suggested_questions_after_answer.py", line 13, in parse
api-1 | action_match = re.search(r"[.?]", text.strip(), re.DOTALL)
api-1 | ^^^^^^^^^^
api-1 | AttributeError: 'list' object has no attribute 'strip'
api-1 | 2025-06-18 10:05:10.115 ERROR [Dummy-516] [llm_generator.py:114] - Failed to generate suggested questions after answer
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/llm_generator/llm_generator.py", line 110, in generate_suggested_questions_after_answer
api-1 | questions = output_parser.parse(cast(str, response.message.content))
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/llm_generator/output_parser/suggested_questions_after_answer.py", line 13, in parse
api-1 | action_match = re.search(r"[.?]", text.strip(), re.DOTALL)
api-1 | ^^^^^^^^^^
api-1 | AttributeError: 'list' object has no attribute 'strip'
api-1 | 2025-06-18 10:06:02.703 ERROR [Dummy-518] [llm_generator.py:114] - Failed to generate suggested questions after answer
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/llm_generator/llm_generator.py", line 110, in generate_suggested_questions_after_answer
api-1 | questions = output_parser.parse(cast(str, response.message.content))
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/llm_generator/output_parser/suggested_questions_after_answer.py", line 13, in parse
api-1 | action_match = re.search(r"[.?]", text.strip(), re.DOTALL)
api-1 | ^^^^^^^^^^
api-1 | AttributeError: 'list' object has no attribute 'strip'
api-1 | 2025-06-19 01:02:30.636 ERROR [Dummy-522] [llm_generator.py:114] - Failed to generate suggested questions after answer
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/llm_generator/llm_generator.py", line 110, in generate_suggested_questions_after_answer
api-1 | questions = output_parser.parse(cast(str, response.message.content))
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/llm_generator/output_parser/suggested_questions_after_answer.py", line 13, in parse
api-1 | action_match = re.search(r"[.?]", text.strip(), re.DOTALL)
api-1 | ^^^^^^^^^^
api-1 | AttributeError: 'list' object has no attribute 'strip'
@saltism commented on GitHub (Jun 23, 2025):
Hi, this is the documentation repo, not a technical support channel.
I’m afraid unable to address the issue you mentioned here.