Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/task/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4451,7 +4451,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
nativeToolCallParserScope,
)

// Stryker disable next-line ConditionalExpression, EqualityOperator: equivalent mutants, streamingKey is always defined here, so both conditions reduce to the partialToolUse check
// Stryker disable next-line ConditionalExpression,EqualityOperator: equivalent mutants, streamingKey is always defined here, so both conditions reduce to the partialToolUse check
if (partialToolUse && streamingKey !== undefined) {
// Reuse the compound key built above: it is exactly the key the start event
// registered under, so the delta lookup needs no second encoding.
Expand Down Expand Up @@ -4887,7 +4887,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
// name (provider quirk), the compound-key lookup above misses and both the
// parser entry and the dedup tracking would stay stale. Resolve the tracked
// entry by id and target the real compound key for finalization and cleanup.
// Stryker disable next-line ConditionalExpression, LogicalOperator, EqualityOperator: equivalent mutants, the both-miss case is unreachable via the raw-chunk pipeline
// Stryker disable next-line ConditionalExpression,LogicalOperator,EqualityOperator: equivalent mutants, the both-miss case is unreachable via the raw-chunk pipeline
if (finalToolUse === null && toolUseIndex === undefined) {
const resolved = NativeToolCallParser.getStreamingToolCallById(
event.id,
Expand Down
Loading