Text Completions
An early text completion interface offered by Anthropic that accepted a single prompt and returned a continuation; it has been removed and migrated to the Messages API.
Timeline (last 90 days)
The Anthropic Python SDK 1.0 removed the Text Completions interface.
Anthropic has fully consolidated conversational capabilities into the Messages API, and the old text completion endpoint is no longer supported.
The Text Completions interface accepts a single prompt and returns a continuation; the Messages API request body consists of a system prompt and a messages array, with each message containing a role and content.
If the project makes heavy use of Text Completions or temperature, the migration cost is relatively high and you can wait for a more complete transition plan; if it only makes standard Messages API calls, the upgrade path is relatively smooth.
All Facts (4)
The Anthropic Python SDK 1.0 removed the Text Completions interface.
50%UnverifiedAnthropic has fully consolidated conversational capabilities into the Messages API, and the old text completion endpoint is no longer supported.
50%UnverifiedThe Text Completions interface accepts a single prompt and returns a continuation; the Messages API request body consists of a system prompt and a messages array, with each message containing a role and content.
50%UnverifiedIf the project makes heavy use of Text Completions or temperature, the migration cost is relatively high and you can wait for a more complete transition plan; if it only makes standard Messages API calls, the upgrade path is relatively smooth.
50%