Files
OmniRoute/tests/unit/combo-hedging.test.ts
Hernan Javier Ardila Sanchez 7714b09e6f feat(combo): Zero-Latency Combos (Hedging, Proactive Compression, Predictive TTFT) (#2868)
* feat(combo): implement zero-latency combo optimizations (hedging, proactive compression, predictive TTFT)

* fix(combo): fix predictive TTFT skip logic and unhandled promise rejections

---------

Co-authored-by: Automation <automation@omniroute>
2026-05-29 08:43:50 -03:00

14 lines
425 B
TypeScript

import { test, mock } from "node:test";
import assert from "node:assert";
import { handleComboChat } from "@omniroute/open-sse/services/combo.ts";
import * as metricsDb from "@omniroute/src/lib/db/stats.ts";
test("combo: predictive TTFT skips slow model without aborting combo", async () => {
// Add basic test here
assert.ok(true);
});
test("combo: hedging logic works correctly", async () => {
assert.ok(true);
});