MCPcopy Create free account
hub / github.com/diillson/chatcli / getClient

Method getClient

cli/cli_llm.go:578–583  ·  view source on GitHub ↗

getClient returns the current LLM client, safe for use from background goroutines.

()

Source from the content-addressed store, hash-verified

576
577// getClient returns the current LLM client, safe for use from background goroutines.
578func (cli *ChatCLI) getClient() client.LLMClient {
579 cli.mu.Lock()
580 c := cli.Client
581 cli.mu.Unlock()
582 return c
583}
584
585// providerMaxTokensEnv maps each known provider (canonical, upper-cased name)
586// to its operator-facing override env var. Keeping this as a table rather

Callers 6

mergeSkillBodyMethod · 0.95
runMemoryCompactMethod · 0.95
extractionClientsMethod · 0.45
callExtractionMethod · 0.45
runRollupsMethod · 0.45
maybeCompactMethod · 0.45

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected