mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
Merge pull request #1725 from seehi/fix-gemini-model
Support gemini models
This commit is contained in:
commit
de368d818f
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue