mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
docs: specify the correct exceptions raised by request_haiku
Refs: OPS-92
This commit is contained in:
parent
e5fa07ccc1
commit
97b57916de
1 changed files with 2 additions and 2 deletions
|
|
@ -108,8 +108,8 @@ class Haiku:
|
|||
:return: A new Haiku object containing the generated three lines.
|
||||
:rtype: Haiku
|
||||
|
||||
:raises: Possible JSONDecodeError which is caught and handled
|
||||
with retries.
|
||||
:raises: Exception if took the llm too many tries to write a fitting
|
||||
haiku or JSONDecodeError if working with JSON failed
|
||||
"""
|
||||
ai_gen_request = {
|
||||
"model": "haiku",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue