Routes LLM requests to Zed's hosted multi-model proxy, translating provider responses to OpenAI format.
// Source: https://github.com/mongral5976-hue/Omniroute | License: MIT | Copyright 2026 diegosouzapw // Provided via justclaw.it.com; keep this notice with the code. /** * ZedHostedExecutor — routes requests to Zed's hosted LLM aggregator * (cloud.zed.dev/completions), a multi-format proxy that fronts * Anthropic/OpenAI/Google/xAI depending on the requested model. * * Distinct from the pre-existing `zed` provider id, which is a Zed IDE * credential-import surface (src/lib/zed-oauth/ + src/mitm/detection/zed.ts) — * that surface only detects/imports local Zed IDE keychain credentials, it does * not proxy chat completions. This executor is the NEW cloud-proxy * capability; registry id `zed-hosted` avoids colliding with the IDE id. * * Wire protocol: POST /completions with an NDJSO ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key