mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
refactor(open-sse): source mimo-free/opencode base URL from PROVIDERS
CHAT_URL and opencode buildUrl base now read from PROVIDERS instead of repeating the literal. Values identical; providers byte-for-byte + gate clean. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import { createHash } from "crypto";
|
||||
import os from "os";
|
||||
|
||||
const BOOTSTRAP_URL = "https://api.xiaomimimo.com/api/free-ai/bootstrap";
|
||||
const CHAT_URL = "https://api.xiaomimimo.com/api/free-ai/openai/chat";
|
||||
const CHAT_URL = PROVIDERS["mimo-free"].baseUrl;
|
||||
const SESSION_AFFINITY_PREFIX = "ses_";
|
||||
const SESSION_ID_LENGTH = 24;
|
||||
const JWT_FALLBACK_TTL_SEC = 3000;
|
||||
|
||||
Reference in New Issue
Block a user