feat: make Citations and Attributions display enable default (#5508)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
takatost 2024-06-24 13:03:49 +08:00 • committed by GitHub
commit 4a031de0d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 24 additions and 5 deletions

View file

@ -84,6 +84,10 @@ class AdvancedChatAppGenerator(MessageBasedAppGenerator):
workflow=workflow
)
if invoke_from == InvokeFrom.DEBUGGER:
# always enable retriever resource in debugger mode
app_config.additional_features.show_retrieve_source = True
# init application generate entity
application_generate_entity = AdvancedChatAppGenerateEntity(
task_id=str(uuid.uuid4()),