MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / set_cli_context

Function set_cli_context

codewiki/src/config.py:28–31  ·  view source on GitHub ↗

Set whether we're running in CLI context (vs web app).

(enabled: bool = True)

Source from the content-addressed store, hash-verified

26MAX_DEPTH = 2
27# Default max token settings
28DEFAULT_MAX_TOKENS = 32_768
29DEFAULT_MIN_TOKEN_PER_MODULE = 1_000
30DEFAULT_MAX_TOKEN_PER_MODULE = 36_369
31DEFAULT_MAX_TOKEN_PER_LEAF_MODULE = 8_000
32# pydantic-ai caps each agent run at 50 model requests by default; complex
33# modules that read many components and delegate sub-modules can need more.
34DEFAULT_REQUEST_LIMIT = 100

Callers 2

generateMethod · 0.90
_legacy_generate_docsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected