fix(types): resolve context-relay payload resolution and typing issues

- Fix `handoffProviders` and `nextBody` unknown property TS errors in contextHandoff
- Correct fallback payload parsing from responses `input` array in combo service
This commit is contained in:
diegosouzapw
2026-04-08 16:43:46 -03:00
parent f5cd841056
commit 02128618b0
8 changed files with 304 additions and 15 deletions

View File

@@ -203,6 +203,8 @@ export async function createChatPipelineHarness(prefix) {
async function resetStorage() {
globalThis.fetch = originalFetch;
clearInflight();
idempotencyLayerModule.clearIdempotency();
semanticCacheModule.clearCache();
resetAllAvailability();
resetAllCircuitBreakers();
apiKeysDb.resetApiKeyState();
@@ -220,6 +222,8 @@ export async function createChatPipelineHarness(prefix) {
BaseExecutor.RETRY_CONFIG.delayMs = originalRetryDelayMs;
globalThis.fetch = originalFetch;
clearInflight();
idempotencyLayerModule.clearIdempotency();
semanticCacheModule.clearCache();
clearSkillState();
resetAllAvailability();
resetAllCircuitBreakers();