Skip to content

Commit d52f9aa

Browse files
author
Zoo (VP)
committed
fix(b17): re-encode mimo.spec.ts to UTF-8, remove stale eslint suppressions
1 parent b68d77b commit d52f9aa

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

-54.7 KB
Binary file not shown.

‎src/core/task/__tests__/ghost-quarantine.spec.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function handleStreamingToolCallEnd(
9191
}
9292
streamingToolCallState.delete(event.id)
9393

94-
const ghostPolicy1 = resolveToolCallPolicy(telemetryContext.modelInfo, telemetryContext.provider as any)
94+
const ghostPolicy1 = resolveToolCallPolicy(telemetryContext.modelInfo, telemetryContext.provider)
9595
telemetryLog.push({
9696
taskId: telemetryContext.taskId,
9797
provider: telemetryContext.provider,
@@ -132,7 +132,7 @@ function handleLegacyToolCall(
132132
})
133133

134134
if (isProvablyEmptyGhost(legacyDisposition)) {
135-
const ghostPolicy2 = resolveToolCallPolicy(telemetryContext.modelInfo, telemetryContext.provider as any)
135+
const ghostPolicy2 = resolveToolCallPolicy(telemetryContext.modelInfo, telemetryContext.provider)
136136
telemetryLog.push({
137137
taskId: telemetryContext.taskId,
138138
provider: telemetryContext.provider,
@@ -195,7 +195,7 @@ function handleFinalizeRawChunks(
195195
}
196196
streamingToolCallState.delete(event.id)
197197

198-
const ghostPolicy3 = resolveToolCallPolicy(telemetryContext.modelInfo, telemetryContext.provider as any)
198+
const ghostPolicy3 = resolveToolCallPolicy(telemetryContext.modelInfo, telemetryContext.provider)
199199
telemetryLog.push({
200200
taskId: telemetryContext.taskId,
201201
provider: telemetryContext.provider,

‎src/eslint-suppressions.json‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,6 @@
184184
"count": 1
185185
}
186186
},
187-
"api/providers/__tests__/mimo.spec.ts": {
188-
"@typescript-eslint/no-explicit-any": {
189-
"count": 18
190-
}
191-
},
192187
"api/providers/__tests__/minimax.spec.ts": {
193188
"@typescript-eslint/no-explicit-any": {
194189
"count": 2

0 commit comments

Comments
 (0)