contextWindowExhaustedMarker top-level constant
String
const contextWindowExhaustedMarker
Marker embedded in the over-window guard's error message (see
_streamAssistantResponse): hosts match it to recognize "the loop
refused to send because the outgoing context exceeded the model
window" and can then auto-compact + continue the interrupted turn.
Implementation
const String contextWindowExhaustedMarker = 'Context window exhausted';