mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-21 14:05:17 +02:00
fix conflicts
This commit is contained in:
commit
9bd900452c
2 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,6 @@ class Config(metaclass=Singleton):
|
|||
self.open_llm_api_model = self._get("OPEN_LLM_API_MODEL")
|
||||
self.fireworks_api_key = self._get("FIREWORKS_API_KEY")
|
||||
self.gemini_api_key = self._get("GEMINI_API_KEY")
|
||||
|
||||
_ = self.get_default_llm_provider_enum()
|
||||
|
||||
self.openai_api_base = self._get("OPENAI_API_BASE")
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ class GeminiGPTAPI(BaseGPTAPI):
|
|||
|
||||
def __init__(self):
|
||||
self.use_system_prompt = False # google gemini has no system prompt when use api
|
||||
|
||||
self.__init_gemini(CONFIG)
|
||||
self.model = "gemini-pro" # so far only one model
|
||||
self.llm = GeminiGenerativeModel(model_name=self.model)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue