Add projects
This commit is contained in:
parent
2d3a9ad623
commit
8b607dd700
1802 changed files with 503346 additions and 2 deletions
8
backend/internal/translator/common/gemini.go
Normal file
8
backend/internal/translator/common/gemini.go
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
package common
|
||||
|
||||
import "github.com/tidwall/gjson"
|
||||
|
||||
// IsGeminiThoughtPart reports whether a Gemini part contains hidden model thought.
|
||||
func IsGeminiThoughtPart(part gjson.Result) bool {
|
||||
return part.Get("thought").Bool()
|
||||
}
|
||||
Loading…
Reference in a new issue