mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
feat: 全部类型问题解决
This commit is contained in:
@@ -135,7 +135,7 @@ export async function buildSideQuestionFallbackParams({
|
||||
// as btw.tsx. The SDK can fire side_question mid-turn.
|
||||
const last = messages.at(-1)
|
||||
const forkContextMessages =
|
||||
last?.type === 'assistant' && last.message.stop_reason === null
|
||||
last?.type === 'assistant' && last.message!.stop_reason === null
|
||||
? messages.slice(0, -1)
|
||||
: messages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user