fix cContextVar OPTIONS LookupError

This commit is contained in:
shenchucheng 2023-12-15 19:38:48 +08:00
parent 32d6898ea5
commit 335a025c03
2 changed files with 3 additions and 1 deletions

View file

@ -17,7 +17,7 @@ from loguru import logger
import metagpt
OPTIONS = contextvars.ContextVar("OPTIONS")
OPTIONS = contextvars.ContextVar("OPTIONS", default={})
def get_metagpt_package_root():