Assistants API runs accept temperature and assistant-role messages
Runs can set a sampling temperature, and threads accept messages with role "assistant", which allows seeding a conversation with prior assistant turns.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact No impactNo decision here — a small parameter addition to a now-deprecated API.
Engineer
What to change, what breaks, what to test Worth knowingSet `temperature` on Run creation for the same sampling control Chat Completions has, and create thread messages with `role: "assistant"` to replay an existing conversation history faithfully. Useful when porting chat logs into threads.
General consumer
Using ChatGPT, not the API No impactNothing to do — this is an API-only change.
Two parameters landed in the Assistants API: temperature on Run creation, giving the same sampling control that Chat Completions already had, and assistant as an allowed role when creating a Message on a thread.
The assistant-role message matters for migration and replay: previously a thread could only be primed with user messages, so an existing conversation history could not be reproduced faithfully inside a thread.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
temperature | added | no | |
role | changed | no |