mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-04 05:12:37 +02:00
feat: replace global CONTEXT with Config()
fixbug: unit test
This commit is contained in:
parent
ff314388bb
commit
e8b3e6762b
15 changed files with 44 additions and 33 deletions
|
|
@ -95,7 +95,3 @@ class Context(BaseModel):
|
|||
if llm.cost_manager is None:
|
||||
llm.cost_manager = self.cost_manager
|
||||
return llm
|
||||
|
||||
|
||||
# Global context, not in Env
|
||||
CONTEXT = Context()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue