{"version":"2.1.288","anchor":"headless-session-waits-for-model-config-before-first-query","canonical_anchor":"headless-session-waits-for-model-config-before-first-query","heading":"Headless runs wait for model settings before the first request","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288\/e\/headless-session-waits-for-model-config-before-first-query","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288","markdown":"### Headless runs wait for model settings before the first request\n\nHeadless and SDK runs now wait for model configuration to load before building Claude's instructions, unless no request will be sent\n\n**Unclear.** It is not clear what configuration is fetched or how long Claude Code will wait for it.\n\n**What**\n\nIn a headless run, where Claude Code works without its interactive screen (for example when started from a script or through the SDK), each turn now waits for model configuration to be fetched before it builds the instructions sent to Claude. Before, it only prepared local storage and went straight on.\n\nThe wait is skipped when the turn will not send a request to the model. Claude Code also now works out whether this is the first turn of the conversation by looking at the messages already there.\n\n**Why**\n\nThe extra wait can add a little delay to the start of headless and SDK turns.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}