site: CoreCode serves OpenAI chat and Responses too, with its ref links and new copy

CoreCode (Joe, 10-28 23:12) added an OpenAI-compatible API and asked for
it in the Add sheet: chat and Responses at https://corecode.live/v1 beside
the Anthropic endpoint, keysUrl https://corecode.live/keys?ref=magpie,
website https://corecode.live/sign-in?ref=magpie, and the en and zh
taglines they sent, word for word (sponsors' copy is used as written).
zh-TW is made from the zh.

Checked: without a key, /v1/models lists the Claude models with
supported_endpoint_types anthropic and openai, and /v1/chat/completions
and /v1/responses answer 401 "Invalid token". Both ref links answer 200.

Run: node --test site/*.test.mjs on mote, 45 of 45 pass.

Not tried: a request with a key. The test key CoreCode sent on 10-26 now
gets "Invalid token"; a new one has been asked for.
This commit is contained in:
yetone
2026-10-28 23:42:50 +08:00
parent 5bfd76cd83
commit fc6f1d5e8d
+7 -5
View File
@@ -98,14 +98,16 @@ export const PARTNERS = [
{
id: "corecode",
name: "CoreCode",
chat: "https://corecode.live/v1",
responses: "https://corecode.live/v1",
anthropic: "https://corecode.live",
keysUrl: "https://corecode.live/keys",
website: "https://corecode.live/",
keysUrl: "https://corecode.live/keys?ref=magpie",
website: "https://corecode.live/sign-in?ref=magpie",
iconUrl: "https://usemagpie.ai/img/partner-corecode.png",
notes: {
en: "Full-strength Claude, undiluted",
zh: "纯血 Claude,一滴不掺",
"zh-TW": "純血 Claude,一滴不摻",
en: "Full-strength Claude. Low prices. Enterprise-grade caching. Invoices available. Sign up for magpie and get $3 free.",
zh: "满血 Claude,超低折扣,企业级缓存优化,可开票。magpie 用户注册送 $3。",
"zh-TW": "滿血 Claude,超低折扣,企業級快取優化,可開票。magpie 用戶註冊送 $3。",
},
from: "2026-10-26T00:00:00+08:00",
until: "2026-11-26T00:00:00+08:00",