Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions config/examples/edenai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
llm:
api_type: edenai
base_url: "https://api.edenai.run/v3"
api_key: "YOUR_API_KEY"
model: anthropic/claude-sonnet-4-5
1 change: 1 addition & 0 deletions metagpt/configs/llm_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class LLMType(Enum):
BEDROCK = "bedrock"
ARK = "ark" # https://www.volcengine.com/docs/82379/1263482#python-sdk
LLAMA_API = "llama_api"
EDENAI = "edenai" # Eden AI: EU-hosted, OpenAI-compatible gateway to 100+ models

def __missing__(self, key):
return self.OPENAI
Expand Down
1 change: 1 addition & 0 deletions metagpt/provider/openai_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
LLMType.SILICONFLOW,
LLMType.OPENROUTER,
LLMType.LLAMA_API,
LLMType.EDENAI,
]
)
class OpenAILLM(BaseLLM):
Expand Down
Loading