...hon
numbered = add_line_numbers(raw)
if len(numbered) > args.max_chars:
    numbered = numbered[:args.max_chars]
```

und ersetze **alles danach bis direkt vor**:

```python
resp, _ = ollama_generate(...)
```

durch exakt das hier:

```python
    prompt = f"""RETURN ONLY VALID JSON. NO MARKDOWN. NO TEXT.

If you cannot find any matching code: {{"block_id":"{block_id}","codes":[]}}

Rules:
- Use ONLY ...