mirror of
https://github.com/ollama/ollama.git
synced 2026-04-18 12:54:12 +02:00
18 lines
354 B
Go
18 lines
354 B
Go
package parsers
|
|
|
|
import "github.com/ollama/ollama/api"
|
|
|
|
// GlmOcrParser is the GLM46 parser with thinking disabled.
|
|
type GlmOcrParser struct {
|
|
GLM46Parser
|
|
}
|
|
|
|
func (p *GlmOcrParser) HasThinkingSupport() bool {
|
|
return false
|
|
}
|
|
|
|
func (p *GlmOcrParser) Init(tools []api.Tool, _ *api.Message, _ *api.ThinkValue) []api.Tool {
|
|
p.tools = tools
|
|
return tools
|
|
}
|