MCPcopy
hub / github.com/superagent-ai/grok-cli / getBaseURL

Function getBaseURL

src/utils/settings.ts:316–318  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

314}
315
316export function getBaseURL(): string {
317 return process.env.GROK_BASE_URL || "https://api.x.ai/v1";
318}
319
320export function getCurrentModel(mode?: AgentMode): string {
321 if (process.env.GROK_MODEL) return normalizeModelId(process.env.GROK_MODEL);

Callers 4

runBackgroundDelegationFunction · 0.90
resolveConfigFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected