Adapts the Anthropic client to use the new structured content format for messages and system prompts, ensuring compatibility with the API's expected input structure. This change modifies both the standard request and the test request within the Anthropic client.