Skip to content

Commit 6484710

Browse files
unused type ignore
1 parent b6eb991 commit 6484710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def _set_completions_api_input_data(
404404
if not _is_system_instruction_completions(message)
405405
]
406406
if len(non_system_messages) > 0:
407-
normalized_messages = normalize_message_roles(non_system_messages) # type: ignore
407+
normalized_messages = normalize_message_roles(non_system_messages)
408408
scope = sentry_sdk.get_current_scope()
409409
messages_data = truncate_and_annotate_messages(normalized_messages, span, scope)
410410
if messages_data is not None:

0 commit comments

Comments
 (0)