这个版本的 CodePilot 不能直接用 Claude Pro 登录态跑 Claude Code SDK,必须配 API Provider
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- electron, next.js, typescript
Research direction
Start by tracing how CodePilot detects configured providers and reports the missing API key, then compare that flow with how it detects an installed Claude CLI session. The issue does not name files or tests, so first locate the provider configuration and Claude Code SDK entry points. Done means a Claude Pro login can be used as a provider without separately configuring an API provider.
Written by the indexing model from the issue text.
Description
Claude CLI is detected and logged in with Claude Pro, but CodePilot still reports:
No API key found: no active provider, no legacy settings, and no ANTHROPIC_API_KEY/ANTHROPIC_AUTH_TOKEN in environment.
Provider count is 0, so CodePilot does not seem to reuse Claude Code Pro OAuth credentials as a provider.
- Dominant language
- TypeScript
- Stars
- 6.5k
- Forks
- 697
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from op7418/CodePilot
-
发生错误时提醒Error:successOpenbug P0-crash-or-interrupt
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Effort selector dropdown hidden for GLM models — blocks access to GLM-5.2 High/Max effort tiersOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug P0-crash-or-interrupt
Difficulty 4/5 3-5 days Newbie friendliness 48/100
All issues in op7418/CodePilot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
backnotprop/plannotator#2914 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/vscode-containers#655 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · 1 comment ·