opencode
opencode copied to clipboard
feat: add Ollama Cloud provider support
Add support for authenticating and using Ollama Cloud with OpenCode. Users can now:
- Run 'opencode auth login' and select 'Ollama Cloud' directly
- Get prompted with steps to retrieve their API key from ollama.com
- Configure and use Ollama Cloud models through the standard provider system
Changes:
- Add 'ollama-cloud' as a built-in provider option in auth login flow
- Add Ollama Cloud to provider priority list with helpful setup instructions
- Create custom loader for ollama-cloud provider with API endpoint configuration
- Dynamically register ollama-cloud provider so it appears in model selection
This completes the Ollama Cloud integration started in #4693 with documentation.