Deploy advanced-model-plugins.md

!stable-docs

Refs #1137
This commit is contained in:
Simon Willison 2025-05-29 22:27:48 -07:00 committed by GitHub
parent a2063e913f
commit 796e8952e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,6 @@ class MyAsyncModel(llm.AsyncKeyModel):
) -> AsyncGenerator[str, None]:
```
This async model instance should then be passed to the `register()` method in the `register_models()` plugin hook:
```python
@ -307,4 +306,4 @@ The `-i` option means Python will drop into an interactive shell if an error occ
```python
import pdb; pdb.pm()
```
```