Skip to content

Commit a623e13

Browse files
committed
fix(ai): typing
1 parent 795bcea commit a623e13

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sentry_sdk/ai/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ def _find_truncation_index(messages: "List[Dict[str, Any]]", max_bytes: int) ->
143143
return 0
144144

145145

146-
def redact_blob_message_parts(messages):
147-
# type: (List[Dict[str, Any]]) -> Tuple[List[Dict[str, Any]], int]
146+
def redact_blob_message_parts(
147+
messages: "List[Dict[str, Any]]",
148+
) -> "List[Dict[str, Any]]":
148149
"""
149150
Redact blob message parts from the messages, by removing the "content" key.
150151
e.g:

0 commit comments

Comments
 (0)