Switch ollama backend reference to ollie

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-01 02:22:12 +02:00
parent 48cc3f3270
commit 769eb2c248
1 changed files with 3 additions and 7 deletions

10
main.go
View File

@ -173,11 +173,7 @@ func main() {
}
refreshList(w)
case "Ollama":
if arg == "" {
fmt.Fprintf(os.Stderr, "Error: Ollama requires a path argument\n")
continue
}
if err := createSession("ollama", arg); err != nil {
if err := createSession("ollie", arg); err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
continue
}
@ -648,13 +644,13 @@ type sessionEdit struct {
// - <id> Kill the session with that ID
// ~ <id> Stop the session (graceful)
// @ <id> <alias> Set alias on the session
// + <backend> <path> [alias] Start a new session (backends: claude, kiro-cli, ollama)
// + <backend> <path> [alias] Start a new session (backends: claude, kiro-cli, ollie)
func parseSessionEdits(content string) []sessionEdit {
var edits []sessionEdit
validBackends := map[string]bool{
"claude": true,
"kiro-cli": true,
"ollama": true,
"ollie": true,
}
for _, line := range strings.Split(content, "\n") {
line = strings.TrimSpace(line)