Skip to content

Add BytesBrains Cruise as a curated provider - #27

Open
nandal wants to merge 1 commit into
openhackai:mainfrom
nandal:feat/issue-24-cruise-provider
Open

nandal wants to merge 1 commit into
openhackai:mainfrom
nandal:feat/issue-24-cruise-provider

Conversation

@nandal

@nandal nandal commented Oct 12, 2026

Copy link
Copy Markdown

Closes #24.

Summary

  • Adds a cruise ProviderSpec to openhack/providers.py: base URL https://cruise.bytesbrains.net/v1, key from CRUISE_API_KEY, default model workers-ai/@cf/zai-org/glm-5.3, supports_prompt_cache=True, as proposed in the issue.
  • Lists cruise in CURATED_PROVIDER_IDS next to the other gateways (OpenRouter, Vercel), so it shows up in the primary picker.
  • CRUISE_BASE_URL / CRUISE_MODEL overrides work through the existing resolve() logic. No new CLI surface and no hosted-service code.

Tests

  • Updated the curated-picker ordering test.
  • Added test_resolve_cruise_reads_key_and_base, which checks the base URL, key, default model and prompt-cache flag.
  • pytest: 512 passed.

🤖 Generated with Claude Code

Cruise is an OpenAI-compatible gateway with per-project budget caps.
Adds a ProviderSpec entry (CRUISE_API_KEY, GLM 5.3 default, prompt
caching on) and lists it in the primary picker next to the other
gateways. CRUISE_BASE_URL / CRUISE_MODEL overrides come from resolve().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Medium impact] This PR appears safe to merge; no actionable issues were found.

Summary

Adds BytesBrains Cruise to the primary provider picker.

  • OpenHack offers BytesBrains Cruise in its curated provider list.

No actionable issues were found. Tests were inspected, not run.

Reviews (1) · Last reviewed commit: "Add BytesBrains Cruise as a curated prov..." · Reviewed by Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: BytesBrains Cruise as a curated provider

1 participant