Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
credential-env: keep the billing-identity comment on PROVIDER_CREDENTIAL_ENV
milind-soni85e601a5f190
diff --git a/server/credential-env.ts b/server/credential-env.tsindex 41bd109b6d..5c40374f8b 100644--- a/server/credential-env.ts+++ b/server/credential-env.ts@@ -67,13 +67,13 @@ export function operatorEnvKey(name: string, env: NodeJS.ProcessEnv = process.enreturn env.OMB_DESKTOP_PARENT === "1" && DESKTOP_STORE_KEY_ENV.has(name) ? undefined : env[name];}-/** Env a provider CLI may read as its billing identity; a foreign key must never move a subscription CLI onto API billing. *//** A connection inherits the workspace OPENAI_COMPAT_MODEL and _PROVIDER only at the workspace server's address (or none): another server can't serve them. */export function onWorkspaceServer(url: unknown, workspaceUrl: string | undefined): boolean {const bare = (value: string) => value.trim().replace(/\/+$/u, "");return typeof url !== "string" || !url.trim() || bare(url) === bare(workspaceUrl || "https://openrouter.ai/api/v1");}+/** Env a provider CLI may read as its billing identity; a foreign key must never move a subscription CLI onto API billing. */export const PROVIDER_CREDENTIAL_ENV = ["CLINE_API_KEY","ANTHROPIC_API_KEY",