mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
enhanced
This commit is contained in:
parent
ad92617200
commit
c97ce2e736
@ -224,6 +224,15 @@ def get_all_personalities():
|
|||||||
personality_info['help'] = config_data.get('help', '')
|
personality_info['help'] = config_data.get('help', '')
|
||||||
personality_info['commands'] = config_data.get('commands', '')
|
personality_info['commands'] = config_data.get('commands', '')
|
||||||
personality_info['prompts_list'] = config_data.get('prompts_list', [])
|
personality_info['prompts_list'] = config_data.get('prompts_list', [])
|
||||||
|
|
||||||
|
|
||||||
|
try:
|
||||||
|
help_path = personality_folder / 'README.md'
|
||||||
|
if help_path.exists():
|
||||||
|
personality_info['help']=help_path.read_text()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
languages_path = personality_folder/ 'languages'
|
languages_path = personality_folder/ 'languages'
|
||||||
|
|
||||||
real_assets_path = personality_folder/ 'assets'
|
real_assets_path = personality_folder/ 'assets'
|
||||||
|
Loading…
Reference in New Issue
Block a user