mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-08-31 01:43:02 +08:00
support gemini models
This commit is contained in:
@@ -51,7 +51,7 @@ class GeminiLLM(BaseLLM):
|
||||
|
||||
self.__init_gemini(config)
|
||||
self.config = config
|
||||
self.model = "gemini-pro" # so far only one model
|
||||
self.model = config.model
|
||||
self.pricing_plan = self.config.pricing_plan or self.model
|
||||
self.llm = GeminiGenerativeModel(model_name=self.model)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user