mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 17:56:23 +02:00
set config value not relay on key.yaml
This commit is contained in:
parent
56b75b34dd
commit
f1e01c5ba8
1 changed files with 3 additions and 1 deletions
|
|
@ -2,7 +2,9 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# @Desc : unittest of repair_llm_raw_output
|
||||
|
||||
import pytest
|
||||
|
||||
from metagpt.config import CONFIG
|
||||
CONFIG.repair_llm_output = True
|
||||
|
||||
from metagpt.utils.repair_llm_raw_output import repair_llm_raw_output, RepairType, repair_invalid_json,\
|
||||
extract_content_from_output, retry_parse_json_text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue