mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
update
This commit is contained in:
parent
759810a349
commit
89eb98ff98
@ -3226,6 +3226,8 @@ class APScript(StateMachine):
|
||||
output_data = {}
|
||||
for field, field_info in template.items():
|
||||
output_data[field] = field_info.get("default", f'[{field_info.get(f"prompt","")}]')
|
||||
if output_data[field] == '':
|
||||
output_data[field] = f'[{field_info.get(f"prompt","")}]'
|
||||
|
||||
if single_shot:
|
||||
# Generate all content at once for powerful LLMs
|
||||
|
Loading…
Reference in New Issue
Block a user