mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-26 17:26:22 +02:00
support azure via openai demo
This commit is contained in:
parent
bcfe49eb2f
commit
e712a4168f
8 changed files with 48 additions and 130 deletions
|
|
@ -52,6 +52,7 @@ class Config(metaclass=Singleton):
|
|||
self.openai_api_rpm = self._get('RPM', 3)
|
||||
self.openai_api_model = self._get('OPENAI_API_MODEL', "gpt-4")
|
||||
self.max_tokens_rsp = self._get('MAX_TOKENS', 2048)
|
||||
self.deployment_id = self._get('DEPLOYMENT_ID')
|
||||
|
||||
self.serpapi_api_key = self._get('SERPAPI_API_KEY')
|
||||
self.google_api_key = self._get('GOOGLE_API_KEY')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue