Rename NewOllama to NewOllie; drop ollama backend alias
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1edf03b67c
commit
8537832162
|
|
@ -8,8 +8,8 @@ import (
|
|||
"9fans.net/go/plan9/client"
|
||||
)
|
||||
|
||||
// NewOllama creates an ollie-backed agent backend.
|
||||
func NewOllama(nsSuffix string) backend.Backend {
|
||||
// NewOllie creates an ollie-backed agent backend.
|
||||
func NewOllie(nsSuffix string) backend.Backend {
|
||||
model := os.Getenv("OLLIE_MODEL")
|
||||
if model == "" {
|
||||
model = os.Getenv("ANVILLM_OLLAMA_MODEL")
|
||||
|
|
|
|||
3
main.go
3
main.go
|
|
@ -193,8 +193,7 @@ func start(daemonize bool) {
|
|||
backendMap := map[string]backend.Backend{
|
||||
"kiro-cli": backends.NewKiroCLI(nsSuffix),
|
||||
"claude": backends.NewClaude(nsSuffix),
|
||||
"ollama": backends.NewOllama(nsSuffix),
|
||||
"ollie": backends.NewOllama(nsSuffix),
|
||||
"ollie": backends.NewOllie(nsSuffix),
|
||||
}
|
||||
|
||||
mgr := session.NewManager(backendMap)
|
||||
|
|
|
|||
Reference in New Issue