Skip to content

Commit 73c7784

Browse files
committed
Rollback module interoperability fixes
1 parent 6e68ca4 commit 73c7784

File tree

4 files changed

+3
-17
lines changed

4 files changed

+3
-17
lines changed

lib/ruby_llm/providers/anthropic/chat.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def format_message(msg)
8989
def format_basic_message(msg)
9090
{
9191
role: convert_role(msg.role),
92-
content: self::Media.format_content(msg.content)
92+
content: Media.format_content(msg.content)
9393
}
9494
end
9595

lib/ruby_llm/providers/bedrock/chat.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def format_message(msg)
2929
def format_basic_message(msg)
3030
{
3131
role: Anthropic::Chat.convert_role(msg.role),
32-
content: self::Media.format_content(msg.content)
32+
content: Media.format_content(msg.content)
3333
}
3434
end
3535

lib/ruby_llm/providers/deepseek/media.rb

Lines changed: 0 additions & 14 deletions
This file was deleted.

lib/ruby_llm/providers/gemini/chat.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def format_parts(msg)
6161
}
6262
}]
6363
else
64-
self::Media.format_content(msg.content)
64+
Media.format_content(msg.content)
6565
end
6666
end
6767

0 commit comments

Comments
 (0)