mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
feat: +metagpt llm
This commit is contained in:
parent
4e92206301
commit
01bdc2c90b
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class MetaGPTLLMAPI(OpenAIGPTAPI):
|
|||
self.auto_max_tokens = False
|
||||
RateLimiter.__init__(self, rpm=self.rpm)
|
||||
|
||||
def __init_openai(self):
|
||||
def __init_openai(self, *args, **kwargs):
|
||||
openai.api_key = CONFIG.METAGPT_API_KEY
|
||||
if CONFIG.METAGPT_API_BASE:
|
||||
openai.api_base = CONFIG.METAGPT_API_BASE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue