Skip to content

feat(cli): add interactive Ollama auth setup#387

Open
doozie-akshay wants to merge 1 commit intoKilo-Org:devfrom
doozie-akshay:fix/154-part2-ollama-auth
Open

feat(cli): add interactive Ollama auth setup#387
doozie-akshay wants to merge 1 commit intoKilo-Org:devfrom
doozie-akshay:fix/154-part2-ollama-auth

Conversation

@doozie-akshay
Copy link

Summary

Part 2 of #154 - Adds interactive Ollama configuration

  • kilo auth login ollama prompts for host URL and optional API key
  • Saves host configuration to opencode.json
  • Works with local (localhost:11434) and remote Ollama instances

Changes

  • packages/opencode/src/cli/cmd/auth.ts - Added Ollama-specific auth flow

Usage

kilo auth login ollama

Prompts:

  1. Enter Ollama host URL (default: http://localhost:11434)
  2. Does your instance require an API key? (yes/no)
  3. Enter API key (if yes)

Testing

  • Tested interactive flow locally

Fixes #154 (part 2)

Part 2 of Kilo-Org#154 - Adds interactive Ollama configuration

- `kilo auth login ollama` prompts for host URL and optional API key
- Saves host configuration to opencode.json
- Works with local (localhost:11434) and remote Ollama instances

Fixes Kilo-Org#154 (part 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Add Ollama/Local Model Provider Support

1 participant