mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
11 lines
493 B
JavaScript
11 lines
493 B
JavaScript
export const GROK_CLI_VERSION = "0.2.99";
|
|
export const GROK_CLI_MODEL = "grok-build";
|
|
export const GROK_CLI_BASE_URL = "https://cli-chat-proxy.grok.com/v1";
|
|
export const GROK_CLI_CLIENT_IDENTIFIER = "grok-shell";
|
|
export const GROK_CLI_USER_AGENT = `grok-shell/${GROK_CLI_VERSION} (linux; x86_64)`;
|
|
|
|
export function supportsGrokCliReasoningEffort(model) {
|
|
// ponytail: unknown models omit effort until live metadata reaches dispatch.
|
|
return /^grok-4\.5(?:$|-)/.test(String(model || ""));
|
|
}
|