mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 06:45:58 +08:00
fix chat message type error (#17997)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
This commit is contained in:
parent
ed63fbaf9a
commit
53efb2bad5
@ -153,6 +153,7 @@ class MessageBasedAppGenerator(BaseAppGenerator):
|
||||
query = application_generate_entity.query or "New conversation"
|
||||
else:
|
||||
query = next(iter(application_generate_entity.inputs.values()), "New conversation")
|
||||
query = query or "New conversation"
|
||||
conversation_name = (query[:20] + "…") if len(query) > 20 else query
|
||||
|
||||
if not conversation:
|
||||
|
Loading…
x
Reference in New Issue
Block a user