feat: enhance response handling to support gemini-2.0-thinking

This commit is contained in:
mxdlzg
2024-12-21 21:04:08 +08:00
parent e9f117ff72
commit 89eb083498
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 {