mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 11:26:23 +02:00
add openrouter support
This commit is contained in:
parent
00f32cbb69
commit
fdc758a571
4 changed files with 39 additions and 2 deletions
|
|
@ -31,6 +31,7 @@ class LLMType(Enum):
|
|||
MOONSHOT = "moonshot"
|
||||
MISTRAL = "mistral"
|
||||
YI = "yi" # lingyiwanwu
|
||||
OPENROUTER = "openrouter"
|
||||
|
||||
def __missing__(self, key):
|
||||
return self.OPENAI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue