File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1- from __future__ import annotations
2-
31import json
42from collections .abc import Iterable
53from typing import TYPE_CHECKING , ClassVar , Self
@@ -122,7 +120,7 @@ def create_message(
122120 cls ,
123121 role : str = DEFAULT_ROLE ,
124122 text : str | None = None ,
125- images : list [np .ndarray | str ] | str | np .ndarray | None = None ,
123+ images : " list[np.ndarray | str] | str | np.ndarray | None" = None ,
126124 ) -> Self :
127125 """Create a message with optional multimodal (just images so far) support.
128126
@@ -173,7 +171,7 @@ class MalformedMessageError(ValueError):
173171 """Error to throw if some aspect of a Message variant is malformed."""
174172
175173 @classmethod
176- def common_retryable_errors_log_filter (cls , record : LogRecord ) -> bool :
174+ def common_retryable_errors_log_filter (cls , record : " LogRecord" ) -> bool :
177175 """
178176 Filter out common parsing failures not worth looking into from logs.
179177
You can’t perform that action at this time.
0 commit comments