Refactor error handling to config-driven approach with centralized error rules

Made-with: Cursor
This commit is contained in:
decolua committed 2026-04-15 11:46:47 +07:00
1 parent b1288c5064
commit b669b6ffc1
20 files changed
+1056 -991

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import { HTTP_STATUS } from "open-sse/config/runtimeConfig.js";
import * as log from "../utils/logger.js";
// Providers that require stored credentials (not noAuth)
const CREDENTIALED_PROVIDERS = new Set(["openai", "elevenlabs"]);
const CREDENTIALED_PROVIDERS = new Set(["openai", "elevenlabs", "openrouter"]);
export async function handleTts(request) {
let body;