add new graph structure

This commit is contained in:
takatost
2024-06-24 23:34:42 +08:00
parent c5d64baba4
commit 8217c46116
6 changed files with 463 additions and 217 deletions

View File

@ -103,6 +103,7 @@ class AdvancedChatAppRunner(AppRunner):
if application_generate_entity.invoke_from in [InvokeFrom.EXPLORE, InvokeFrom.DEBUGGER]
else UserFrom.END_USER,
invoke_from=application_generate_entity.invoke_from,
callbacks=workflow_callbacks,
user_inputs=inputs,
system_inputs={
SystemVariable.QUERY: query,
@ -110,7 +111,6 @@ class AdvancedChatAppRunner(AppRunner):
SystemVariable.CONVERSATION_ID: conversation.id,
SystemVariable.USER_ID: user_id
},
callbacks=workflow_callbacks,
call_depth=application_generate_entity.call_depth
)