mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-02 12:22:39 +02:00
support gemini models
This commit is contained in:
parent
07d4be2df3
commit
ae9cd3e634
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue