feat: enhance response handling to support gemini-2.0-thinking (#1995)

This commit is contained in:
Wei Tingjiang
2024-12-22 18:25:44 +08:00
committed by GitHub
parent 2f16649896
commit 49ffb1c60d
4 changed files with 23 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ var ModelList = []string{
"gemini-pro", "gemini-pro-vision",
"gemini-1.5-pro-001", "gemini-1.5-flash-001",
"gemini-1.5-pro-002", "gemini-1.5-flash-002",
"gemini-2.0-flash-exp",
"gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp",
}
type Adaptor struct {