{"version":"2.1.335","anchor":"init-message-can-name-the-next-turns-model-via-nextturnmode","canonical_anchor":"init-message-can-name-the-next-turns-model-via-nextturnmode","heading":"Programs that embed Claude Code can name the next turn's model at start-up","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/init-message-can-name-the-next-turns-model-via-nextturnmode","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Programs that embed Claude Code can name the next turn's model at start-up\n\nA program embedding Claude Code can now supply the model for the next turn, and the opening message names that model instead of the current one\n\n**What**\n\nWhen Claude Code runs through the SDK, a library that lets other programs drive it, it sends an opening message that names the model in use. A program embedding Claude Code can now supply an optional way to say which model the next turn will use. When that turn is not the one that started the model, the opening message names the supplied model instead of the current one. If nothing is supplied, the current model is named as before. If supplying it fails, Claude Code logs the error and names the current model.\n\n**Why**\n\nA program built on Claude Code can show the correct model in its first message rather than one that is about to change.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}