Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Completions changedapi/completions

Nearest release: v2.1.311, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+3added
Lines−13removed
From line 247 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits25to this page, all time

The whole hunk

from line 247, old and new numbered
/
lines
from line 247
247247 
248248 The prompt that you want Claude to complete.
249249 
250 For proper response generation you will need to format your prompt using alternating `
250 For proper response generation you will need to format your prompt using alternating `\n\nHuman:` and `\n\nAssistant:` conversational turns. For example:
251251 
252 Human:`and`
253 
254 Assistant:` conversational turns. For example:
255 
256252 ```
257 "
258
259 Human: {userQuestion}
260
261 Assistant:"
253 "\n\nHuman: {userQuestion}\n\nAssistant:"
262254 ```
263255 
264256 See [prompt validation](https://platform.claude.com/docs/en/build-with-claude/working-with-messages?sdk_languages=http) and our guide to [prompt design](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview?sdk_languages=http) for more details.
from line 273
281273 
282274 Sequences that will cause the model to stop generating.
283275 
284 Our models stop on `"
285 
286 Human:"`, and may include additional built-in stop sequences in the future. By providing the stop_sequences parameter, you may include additional strings that will cause the model to stop generating.
276 Our models stop on `"\n\nHuman:"`, and may include additional built-in stop sequences in the future. By providing the stop_sequences parameter, you may include additional strings that will cause the model to stop generating.
287277 
288278- `stream: optional boolean`
289279 
Feedback