feat: make Citations and Attributions display enable default (#5508)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
parent
54b8d98cde
commit
4a031de0d9
7 changed files with 24 additions and 5 deletions
|
|
@ -82,6 +82,11 @@ class AgentChatAppGenerator(MessageBasedAppGenerator):
|
|||
config=args.get('model_config')
|
||||
)
|
||||
|
||||
# always enable retriever resource in debugger mode
|
||||
override_model_config_dict["retriever_resource"] = {
|
||||
"enabled": True
|
||||
}
|
||||
|
||||
# parse files
|
||||
files = args['files'] if args.get('files') else []
|
||||
message_file_parser = MessageFileParser(tenant_id=app_model.tenant_id, app_id=app_model.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue