MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / getClientConfig

Function getClientConfig

compatible-shell/src/client.mjs:9–18  ·  view source on GitHub ↗
(overrides = {})

Source from the content-addressed store, hash-verified

7)
8
9export function getClientConfig(overrides = {}) {
10 return {
11 baseUrl: overrides.baseUrl || DEFAULT_BASE_URL,
12 apiKey: overrides.apiKey || DEFAULT_API_KEY,
13 model: overrides.model || DEFAULT_MODEL,
14 maxTokens:
15 overrides.maxTokens ||
16 (Number.isFinite(DEFAULT_MAX_TOKENS) ? DEFAULT_MAX_TOKENS : 1024),
17 }
18}
19
20export async function sendMessages({
21 baseUrl,

Callers 1

createStateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected