Question 170
The Claude application case reports: A conversation builder merges customer messages into an assistant-role history item. Which TWO options form a suitable correction and a separate proof of effectiveness? (Select TWO.)
Explanation
Correct Answers
This corrective action targets A conversation builder merges customer messages into an assistant-role history item by applying: Create valid Messages API calls using proper system placement, user and assistant roles, content block types, model, and max_tokens. It addresses: Treating structured messages as an arbitrary text blob can break turns, bypass role assumptions, or produce invalid requests.
This evidence independently verifies the intervention for A conversation builder merges customer messages into an assistant-role history item: Contract tests send valid role/content structures and reject misordered or malformed content before external calls.
Incorrect Answers
Images, documents and multimodal context: Treating every upload as raw text or attaching unauthorized documents can cause request rejection or data exposure. That mechanism alone cannot establish Messages api roles and content blocks for this question.
Client-side tool use request and response contract: Parsing tool intent from prose or mismatching tool_use IDs produces incorrect actions and corrupt dialogue state. Here the decisive check is Messages api roles and content blocks, not that separate capability.
Prompt caching batch api and thinking features: Blindly enabling expensive options or assuming they work identically across providers yields excess cost or incompatible requests. The observed issue still requires Messages api roles and content blocks; the proposed alternative tests another control.