docs: fix off-by-one hl_lines in apps.md (#3196)
This commit is contained in:
parent
b7c9a916d6
commit
b61ce388dd
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ then come back.
|
|||
|
||||
## A clock with a face
|
||||
|
||||
```python title="server.py" hl_lines="18 21 29 31"
|
||||
```python title="server.py" hl_lines="19 22 30 32"
|
||||
--8<-- "docs_src/apps/tutorial001.py"
|
||||
```
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ The model reads `content`; the iframe is for humans. A UI-capable host still fee
|
|||
the text result to the model, and a text-only client gets *only* that. So the
|
||||
canonical pattern is one tool, two answers. Look at `get_time` again:
|
||||
|
||||
```python title="server.py" hl_lines="22-26"
|
||||
```python title="server.py" hl_lines="23-27"
|
||||
--8<-- "docs_src/apps/tutorial001.py"
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue