Skip to content

Commit de368d8

Browse files
authored
Merge pull request #1725 from seehi/fix-gemini-model
Support gemini models
2 parents 55726e0 + ae9cd3e commit de368d8

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
@@ -50,7 +50,7 @@ def __init__(self, config: LLMConfig):
5050

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

0 commit comments

Comments
 (0)