Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
89a63030
authored
Nov 19, 2025
by
Seefs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: gemini-3-pro
parent
0d16a06c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
dto/gemini.go
+7
-2
relay/channel/gemini/constant.go
+1
-0
No files found.
dto/gemini.go
View file @
89a63030
...
...
@@ -182,8 +182,12 @@ type FunctionCall struct {
}
type
GeminiFunctionResponse
struct
{
Name
string
`json:"name"`
Response
map
[
string
]
interface
{}
`json:"response"`
Name
string
`json:"name"`
Response
map
[
string
]
interface
{}
`json:"response"`
WillContinue
json
.
RawMessage
`json:"willContinue,omitempty"`
Scheduling
json
.
RawMessage
`json:"scheduling,omitempty"`
Parts
json
.
RawMessage
`json:"parts,omitempty"`
ID
json
.
RawMessage
`json:"id,omitempty"`
}
type
GeminiPartExecutableCode
struct
{
...
...
@@ -206,6 +210,7 @@ type GeminiPart struct {
Thought
bool
`json:"thought,omitempty"`
InlineData
*
GeminiInlineData
`json:"inlineData,omitempty"`
FunctionCall
*
FunctionCall
`json:"functionCall,omitempty"`
ThoughtSignature
json
.
RawMessage
`json:"thoughtSignature,omitempty"`
FunctionResponse
*
GeminiFunctionResponse
`json:"functionResponse,omitempty"`
FileData
*
GeminiFileData
`json:"fileData,omitempty"`
ExecutableCode
*
GeminiPartExecutableCode
`json:"executableCode,omitempty"`
...
...
relay/channel/gemini/constant.go
View file @
89a63030
...
...
@@ -8,6 +8,7 @@ var ModelList = []string{
"gemini-1.5-pro-latest"
,
"gemini-1.5-flash-latest"
,
// preview version
"gemini-2.0-flash-lite-preview"
,
"gemini-3-pro-preview"
,
// gemini exp
"gemini-exp-1206"
,
// flash exp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment