mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-20 16:51:07 +02:00
fixbug: timeout & prompt_format
This commit is contained in:
parent
6465b2eaa9
commit
f441c88156
15 changed files with 46 additions and 47 deletions
|
|
@ -8,7 +8,7 @@
|
|||
from metagpt.config import CONFIG
|
||||
|
||||
|
||||
def get_template(templates, schema=CONFIG.prompt_schema):
|
||||
def get_template(templates, schema=CONFIG.prompt_format):
|
||||
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