fix(inference): skip Hermes Provider host smoke check#4385
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR adds a special-case check in ChangesHermes Provider Smoke Test Bypass
🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
Summary
Skip the host-side direct OpenAI-compatible smoke probe for Hermes Provider onboarding. Hermes Provider OAuth stores the minted agent key in OpenShell provider storage, so probing the upstream endpoint with the ambient host
OPENAI_API_KEYcan falsely fail after successful OAuth.Changes
hermes-providerfromshouldSmokeOpenAiLikeOnboardRouteso onboarding relies on the OpenShell inference route instead of a host credential probe.Type of Change
Verification
npm run build:clipassesnpx vitest run src/lib/inference/onboard-probes.test.ts -t "host-smoke Hermes Provider"passesnpm run typecheck:clipassesnpx @biomejs/biome check src/lib/inference/onboard-probes.ts src/lib/inference/onboard-probes.test.tspassesgit diff --checkpassesnpm testwas attempted locally; the changed probe suite passed, but the full run failed with unrelated host/tool timeout failures on this machine.npx prek run --all-filespassesnpm testpassesmake docsbuilds without warnings (doc changes only)Signed-off-by: Test User test@example.com
Summary by CodeRabbit
Bug Fixes
Tests