Skip to content

Commit 6a2c783

Browse files
committed
darglint
1 parent e5d5171 commit 6a2c783

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/agentlab/llm/huggingface_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ def __call__(
6969
Returns:
7070
If n_samples=1, returns a single AIMessage.
7171
If n_samples>1, returns a list of AIMessages.
72+
73+
Raises:
74+
Exception: If the server fails to respond after n_retry_server attempts or if the chat template fails.
7275
"""
7376
if self.tokenizer:
7477
try:

0 commit comments

Comments
 (0)