Loading...
Searching...
No Matches
Go to the documentation of this file.
6OC Chat — interactive CLI client with a ReAct agentic loop.
10Top-level package marker. Features streaming chat with reasoning
11(chain-of-thought), tool use, session management, context
12compression, and agentic multi-step planning. Provider-agnostic
13since Phase C — the active backend is selected via the
14``OC_CHAT_PROVIDER`` env var (default ``deepseek``).
18- Mark ``oc_chat/`` as a Python package.
19- Hold the engine subpackages: ``core`` (provider-agnostic engine),
20 ``tools`` (filesystem / shell / web / memory / planner / oct),
21 ``tests`` (unit + integration suites).
22- Provide ``main.py`` as the REPL entry point.
34- Module-level L4 ``_dbg`` is a diagnostics-coverage marker; it
35 emits nothing at default verbosity (domain default is L2).
39- oc_diagnostics (structured debug logging via _dbg)
40- oc_chat._env_guard (load_dotenv_guarded - loads .env at package import, refusing the security-authority vars)
43from oc_diagnostics
import _dbg
56_dbg(
"OC_CHAT.MAIN",
"module",
"loaded", 4)