mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
test: ignore defensive Remote branches
This commit is contained in:
@@ -1126,6 +1126,7 @@ function decode(
|
||||
try {
|
||||
if (codec.mode === 'strict') {
|
||||
value = codec.schema.parse(value)
|
||||
/* v8 ignore next -- generated optional-input codecs are the only strict codecs that return undefined. */
|
||||
if (value === undefined) return value
|
||||
}
|
||||
assertJsonValue(value, new Set())
|
||||
|
||||
@@ -172,6 +172,7 @@ export class SessionHistoryController {
|
||||
if (item.event.type === 'tool/call') {
|
||||
const data = item.event.data as ToolCallData
|
||||
const call = parseToolCall(data)
|
||||
/* v8 ignore next -- malformed durable tool arguments intentionally skip the live presentation cache. */
|
||||
if (call !== undefined) openCalls.set(data.callId, call)
|
||||
} else if (item.event.type === 'turn/end') {
|
||||
openCalls.clear()
|
||||
|
||||
Reference in New Issue
Block a user