[PR #10436] feat: add Maple AI provider integration #13440

Open
opened 2026-02-16 18:18:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10436

State: open
Merged: No


Fixes #10434

What does this PR do?

Adds Maple AI as a first-class provider with dynamic model discovery.

  • Provider dynamically fetches models from running Maple proxy
  • Supports API key authentication (stored in auth.json)
  • Configurable baseURL (default: http://127.0.0.1:8080/v1)
  • Helpful setup instructions in both CLI and TUI
  • Placed in 'Other' category
  • Gracefully handles proxy unavailability (no models shown)

Users run /connect to add their Maple API key, then /models to see available models fetched directly from their Maple proxy.

How did you verify your code works?

Tested locally with my Maple account. Confirmed provider selection, API key configuration, and chat completion requests work correctly. In fact, this code change was built using OpenCode connected to Maple.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10436 **State:** open **Merged:** No --- Fixes #10434 ### What does this PR do? Adds Maple AI as a first-class provider with dynamic model discovery. - Provider dynamically fetches models from running Maple proxy - Supports API key authentication (stored in auth.json) - Configurable baseURL (default: http://127.0.0.1:8080/v1) - Helpful setup instructions in both CLI and TUI - Placed in 'Other' category - Gracefully handles proxy unavailability (no models shown) Users run `/connect` to add their Maple API key, then `/models` to see available models fetched directly from their Maple proxy. ### How did you verify your code works? Tested locally with my Maple account. Confirmed provider selection, API key configuration, and chat completion requests work correctly. In fact, this code change was built using OpenCode connected to Maple.
yindo added the pull-request label 2026-02-16 18:18:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13440