-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
431 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package constant | ||
|
||
var ( | ||
ForceFormat = "force_format" // ForceFormat 强制格式化为OpenAI格式 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package constant | ||
|
||
var ( | ||
FinishReasonStop = "stop" | ||
FinishReasonToolCalls = "tool_calls" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
package gemini | ||
|
||
const ( | ||
GeminiVisionMaxImageNum = 16 | ||
) | ||
|
||
var ModelList = []string{ | ||
"gemini-1.0-pro-latest", "gemini-1.0-pro-001", "gemini-1.5-pro-latest", "gemini-1.5-flash-latest", "gemini-ultra", | ||
"gemini-1.0-pro-vision-latest", "gemini-1.0-pro-vision-001", "gemini-1.5-pro-exp-0827", "gemini-1.5-flash-exp-0827", | ||
"gemini-exp-1114", | ||
// stable version | ||
"gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.5-flash-8b", | ||
// latest version | ||
"gemini-1.5-pro-latest", "gemini-1.5-flash-latest", | ||
// legacy version | ||
"gemini-1.5-pro-exp-0827", "gemini-1.5-flash-exp-0827", | ||
// exp | ||
"gemini-exp-1114", "gemini-exp-1121", "gemini-exp-1206", | ||
// flash exp | ||
"gemini-2.0-flash-exp", | ||
// thinking exp | ||
"gemini-2.0-flash-thinking-exp", | ||
"gemini-2.0-flash-thinking-exp-1219", | ||
} | ||
|
||
var ChannelName = "google gemini" |
Oops, something went wrong.