From c76fc686b0b0b55d108639b1f64b50ec82e326d3 Mon Sep 17 00:00:00 2001 From: giwaov Date: Wed, 8 Apr 2026 10:56:36 +0100 Subject: [PATCH] docs: fix stale references in CLAUDE.md - Remove client.py from component list (file doesn't exist; was removed in a prior refactor when Client was split into LLM, Alpha, ModelHub, and Twins) - Remove Protocol Buffers section (src/opengradient/proto/ doesn't exist in the current codebase) - Add missing submodules to client listing: tee_connection.py, tee_registry.py, _conversions.py, _utils.py - Fix list numbering Closes #252 --- CLAUDE.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 61b2939e..d19c36e3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -64,12 +64,15 @@ make chat-tool ### Core Components 1. **Client (`src/opengradient/client/`)**: Client package with submodules - - `client.py` — Main Client class, authentication, initialization - `llm.py` — LLM chat/completion with TEE and x402 payment support - `model_hub.py` — Model repository management (CRUD, upload) - `twins.py` — Digital twins chat integration (twin.fun) - `alpha.py` — Alpha Testnet on-chain inference and workflows - `opg_token.py` — OPG token Permit2 approval + - `tee_connection.py` — TEE connection management (static and registry-based) + - `tee_registry.py` — TEE endpoint discovery via on-chain registry + - `_conversions.py` — Model input/output type conversions + - `_utils.py` — Shared utilities (ABI loading, retry logic) 2. **CLI (`src/opengradient/cli.py`)**: Command-line interface using Click - Commands: `config`, `infer`, `completion`, `chat` @@ -83,13 +86,11 @@ make chat-tool - Web3 integration for decentralized inference - Support for TEE (Trusted Execution Environment) mode -5. **Protocol Buffers (`src/opengradient/proto/`)**: gRPC service definitions for inference - -6. **AlphaSense (`src/opengradient/alphasense/`)**: LangChain-compatible tools for AI agents +5. **AlphaSense (`src/opengradient/alphasense/`)**: LangChain-compatible tools for AI agents - `run_model_tool.py` — Tool for running on-chain model inference - `read_workflow_tool.py` — Tool for reading workflow results -7. **Workflow Models (`src/opengradient/workflow_models/`)**: Hardcoded price/volatility forecast models for on-chain execution +6. **Workflow Models (`src/opengradient/workflow_models/`)**: Hardcoded price/volatility forecast models for on-chain execution ### Key Concepts