fix(providers): deprecate Monster API provider (fixes #8676) (#8691)

Monster API shuttered operations on 2026-06-30. Mark monsterapi entry as isDeprecated with deprecationReason in INFERENCE_HOSTS catalog.

Co-authored-by: Austin Liu <austinliu@Austins-MacBook-Air-3.local>
This commit is contained in:
Austin Liu
2026-07-28 05:54:31 +09:30
committed by GitHub
parent 722de9d87e
commit f2ad55bd62
2 changed files with 22 additions and 1 deletions

View File

@@ -29,7 +29,8 @@ export const APIKEY_PROVIDERS_INFERENCE = {
textIcon: "OV",
website: "https://openvecta.com",
hasFree: true,
freeNote: "Free credits on signup for OpenAI-compatible inference across LLMs, embeddings, and reasoning models",
freeNote:
"Free credits on signup for OpenAI-compatible inference across LLMs, embeddings, and reasoning models",
},
fireworks: {
id: "fireworks",
@@ -292,6 +293,9 @@ export const APIKEY_PROVIDERS_INFERENCE = {
"One-time signup trial credits for decentralized GPU inference (no recurring free plan). No credit card required.",
passthroughModels: true,
authHint: "Get API key at monsterapi.ai",
isDeprecated: true,
deprecationReason:
"Monster API shuttered operations on 2026-06-30. Use alternative OpenAI-compatible providers.",
},
modelscope: {
id: "modelscope",

View File

@@ -0,0 +1,17 @@
import assert from "node:assert/strict";
import { test } from "node:test";
import { APIKEY_PROVIDERS_INFERENCE } from "../../src/shared/constants/providers/apikey/inference-hosts.ts";
test("Monster API provider is marked as deprecated (fixes #8676)", () => {
const monsterEntry = APIKEY_PROVIDERS_INFERENCE.monsterapi;
assert.ok(monsterEntry, "monsterapi entry must exist in APIKEY_PROVIDERS_INFERENCE");
assert.equal(
(monsterEntry as Record<string, unknown>).isDeprecated,
true,
"monsterapi must be marked isDeprecated"
);
assert.ok(
typeof (monsterEntry as Record<string, unknown>).deprecationReason === "string",
"monsterapi must specify deprecationReason"
);
});