feat: prompt for API key interactively when missing#35
Conversation
Instead of immediately erroring when no API key is found, the CLI now prompts the user to enter their key interactively (when running in a TTY). MCP callers are unaffected — they still get the error thrown. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughThe PR converts API key resolution from synchronous to asynchronous across the codebase. The Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~20 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Summary
readline— no new dependenciesTest plan
npx agent-triage demo customer-supportwithout API key set — should prompt🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Tests