8 lines
223 B
Go
8 lines
223 B
Go
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()
|
|
}
|