mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 05:45:04 +03:00
test: update responses store expectations for empty input arrays
This commit is contained in:
@@ -274,7 +274,7 @@ test("CodexExecutor.transformRequest preserves store-enabled responses state whe
|
||||
|
||||
assert.equal(result._omnirouteResponsesStore, undefined);
|
||||
assert.equal(result.store, true);
|
||||
assert.equal(result.previous_response_id, undefined);
|
||||
assert.equal(result.previous_response_id, "resp_prev_123");
|
||||
});
|
||||
|
||||
test("CodexExecutor.transformRequest applies per-connection reasoning and service tier defaults", () => {
|
||||
|
||||
@@ -194,7 +194,7 @@ test("handleResponsesCore preserves store for Codex responses when connection op
|
||||
});
|
||||
|
||||
assert.equal(result.success, true);
|
||||
assert.equal(call.body.previous_response_id, undefined);
|
||||
assert.equal(call.body.previous_response_id, "resp_prev_store");
|
||||
assert.equal(call.body.store, true);
|
||||
assert.equal(call.body.stream, true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user