mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-05 13:52:38 +02:00
fix prompt_schema
This commit is contained in:
parent
3b9e20d056
commit
0fca7b3b1f
6 changed files with 12 additions and 12 deletions
|
|
@ -8,7 +8,7 @@
|
|||
from metagpt.config import CONFIG
|
||||
|
||||
|
||||
def get_template(templates, schema=CONFIG.prompt_format):
|
||||
def get_template(templates, schema=CONFIG.prompt_schema):
|
||||
selected_templates = templates.get(schema)
|
||||
if selected_templates is None:
|
||||
raise ValueError(f"Can't find {schema} in passed in templates")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue