Skip to content

Commit ae9cd3e

Browse files
committed
support gemini models
1 parent 07d4be2 commit ae9cd3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metagpt/provider/google_gemini_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(self, config: LLMConfig):
5151

5252
self.__init_gemini(config)
5353
self.config = config
54-
self.model = "gemini-pro" # so far only one model
54+
self.model = config.model
5555
self.pricing_plan = self.config.pricing_plan or self.model
5656
self.llm = GeminiGenerativeModel(model_name=self.model)
5757

0 commit comments

Comments
 (0)