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

26# huge inputs are partitioned by directory structure into batches of at most
27# this many leaf nodes (and further bounded by an output-token budget derived
28# from max_tokens).
29DEFAULT_MAX_LEAF_NODES_PER_CLUSTER = 600
30# Artifact-aware generation: total token budget for build/CI/container/
31# manifest/config file contents added to the dependency graph.
32DEFAULT_ARTIFACT_TOKEN_BUDGET = 200_000
33# Legacy constants (for backward compatibility)
34MAX_TOKEN_PER_MODULE = DEFAULT_MAX_TOKEN_PER_MODULE

Callers 2

generateMethod · 0.90
_legacy_generate_docsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected