mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-02 02:11:58 +00:00
style: black-format handler.py (collapse task_mappings.append call)
This commit is contained in:
parent
d5cca6b97d
commit
1600d40243
1 changed files with 1 additions and 3 deletions
|
|
@ -251,9 +251,7 @@ class AnthropicMessagesHandler(BaseTranslation):
|
|||
block_text = block.get("text")
|
||||
if block_text is not None:
|
||||
texts_to_check.append(block_text)
|
||||
task_mappings.append(
|
||||
(msg_idx, int(content_idx))
|
||||
)
|
||||
task_mappings.append((msg_idx, int(content_idx)))
|
||||
|
||||
# Extract images
|
||||
if content_item.get("type") == "image":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue