alibaba / alibaba/open-code-review

OAuth providers or pre-configured providers in opencode

Open
#585 1 comment 8 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
24.4k
Forks
1.8k
Avg merge
2d 6h
Merged PRs (30d)
105

Description

### Problem Statement

Hello,
The supported, preconfigured providers are primarily APIs. Therefore, it is not possible to use OpenAI, OpenCode Go/Zen, or other subscriptions.

### Proposed Solution

It would be great to be able to use providers like OpenCode Go/Zen or OpenAI Pro via OAuth (similar to OpenCode).

### Alternatives Considered

Alternatively, it would be helpful to use the providers configured in OpenCode directly, so we don't have two sources of LLMs.

### Affected Area

Configuration

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified. Start by tracing configuration and supported-provider handling, then determine whether OAuth for OpenAI and OpenCode Go/Zen or reuse of OpenCode's provider configuration is feasible; done means one consistent way to use those subscriptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ai, authentication, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.