Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++
395 B
Raw Blame
export type Order = {customer: string; priceCents: number; quantity: number; cancelled?: boolean};
export type Summary = {customer: string; totalCents: number; units: number};
import {validateOrders} from './validation.ts';
import {aggregateOrders} from './aggregation.ts';
export function summarizeOrders(orders: Order[]): Summary[] {
  return aggregateOrders(validateOrders(orders));
}