module RubyLLM::Providers::Anthropic::Chat

def format_message(msg)

def format_message(msg)
  if msg.tool_call?
    format_tool_call(msg)
  elsif msg.tool_result?
    format_tool_result(msg)
  else
    format_basic_message(msg)
  end
end