* Build CacheSafeParams for the side question fork. * * The preferred source is getLastCacheSafeParams — the exact * systemPrompt/userContext/systemContext bytes the main thread sent on its * last request (captured in stopHooks). Reusing them guarantees a byte- * identical prefix and thus a pro
(f)
| 196 | * --append-system-prompt, coordinator mode). |
| 197 | */ |
| 198 | function _temp(f) { |
| 199 | return f + 1; |
| 200 | } |
| 201 | function stripInProgressAssistantMessage(messages: Message[]): Message[] { |
| 202 | const last = messages.at(-1); |
| 203 | if (last?.type === 'assistant' && last.message.stop_reason === null) { |
nothing calls this directly
no outgoing calls
no test coverage detected