mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-09 15:52:38 +02:00
fix bug in multi llm
This commit is contained in:
parent
21d9c5aeed
commit
0f27029b2c
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ class Action(SerializationMixin, ContextMixin, BaseModel):
|
|||
llm = create_llm_instance(config)
|
||||
llm.cost_manager = data.llm.cost_manager
|
||||
data.llm = llm
|
||||
data.config = config # if not set self.config, self.llm will be reset when you call Role.set_actions function
|
||||
return data
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue