mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
fix: cancel parallel tool calls mid-execution (#489)
This commit is contained in:
@@ -395,7 +395,10 @@ export const useGeminiStream = (
|
||||
};
|
||||
|
||||
const streamingState: StreamingState =
|
||||
isResponding || toolCalls.some((t) => t.status === 'awaiting_approval')
|
||||
isResponding ||
|
||||
toolCalls.some(
|
||||
(t) => t.status === 'awaiting_approval' || t.status === 'executing',
|
||||
)
|
||||
? StreamingState.Responding
|
||||
: StreamingState.Idle;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user