mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
add openai_api_base.
This commit is contained in:
parent
5bf03ad89d
commit
10b90d4a64
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ class OpenCodeInterpreter(object):
|
|||
interpreter.auto_run = auto_run
|
||||
interpreter.model = CONFIG.openai_api_model or "gpt-3.5-turbo"
|
||||
interpreter.api_key = CONFIG.openai_api_key
|
||||
interpreter.api_base = CONFIG.openai_api_base
|
||||
self.interpreter = interpreter
|
||||
|
||||
def chat(self, query: str, reset: bool = True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue