mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 09:46:24 +02:00
support mistral
This commit is contained in:
parent
4f14ee7ce1
commit
ec7df8acdf
5 changed files with 101 additions and 13 deletions
|
|
@ -100,3 +100,6 @@ class LLMConfig(YamlModel):
|
|||
@classmethod
|
||||
def check_timeout(cls, v):
|
||||
return v or LLM_API_TIMEOUT
|
||||
|
||||
def get(self, key: str, default = None):
|
||||
return getattr(self, key, default)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue