Coverage for src / quber / prompts / __init__.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-09-23 22:14 -0400

1"""Prompts held outside the code that uses them, as TOML. 

2 

3One file per processor, named `<processor_name>.toml`. Each prompt sits at 

4`[prompts.<key>]` with its body in a `text` field, and `load_prompt(processor, 

5key)` returns that body stripped. Adding a prompt means adding a key to the 

6TOML, not editing Python. 

7 

8This covers the table-inference processor behind `quber analyze` and `quber 

9batch`, and nothing else. The agents under `quber.agents` — the grid locator, 

10the structure vetter, the status inspector, and the rest of the Set-of-Mark and 

11figure paths — define their system prompts inline at the call site instead. 

12Look there first when changing how one of those behaves. 

13""" 

14 

15from quber.prompts.loader import load_prompt 

16 

17__all__ = ["load_prompt"]