# topogpt3: inference_hrm

topogpt3: inference_hrm groups 8 files (py) around _count_unclosed_brackets, _count_unclosed_fences, is_response_complete, extract_tail_for_continuation, split_at_last_newline. Checkpoint architecture discovery tests.

```mermaid
graph LR
    tests["tests"]
    topogpt3["topogpt3"]
    tests -- "calls into" --> topogpt3
```

## tests (3.1)

tests groups 2 files (py) around test_read_state_missing, test_probe_t3_small, test_probe_exploitgym_meta, test_config_matches_weights, tokenizer. Checkpoint architecture discovery tests.

## topogpt3 (3.2)

topogpt3 groups 6 files (py) around _count_unclosed_brackets, _count_unclosed_fences, is_response_complete, extract_tail_for_continuation, split_at_last_newline. OpenAI-compatible HTTP API server so TopoGPT3 can be used as a backend for coding...

**Files**:

- tests/test_checkpoint_meta.py
- tests/test_structured_output.py
- topogpt3/api_server.py
- topogpt3/checkpoint_meta.py
- topogpt3/continuation.py
- topogpt3/inference_hrm.py
- topogpt3/structured_output.py
- topogpt3/tokenizer_tools.py
