mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-05 06:42:12 +03:00
Introduce a custom CLI tools card that generates OpenAI-compatible env vars and JSON config, and add a cost overview tab with pricing source visibility. Add persisted custom eval suites with authenticated CRUD routes and validation, plus new translator stream transformation tooling and richer live monitor routing details. Improve localization coverage across dashboard flows and add unit tests for custom CLI config, pricing sources, eval suites, and stream transformation.
28 lines
697 B
SQL
28 lines
697 B
SQL
CREATE TABLE IF NOT EXISTS eval_suites (
|
|
id TEXT PRIMARY KEY,
|
|
name TEXT NOT NULL,
|
|
description TEXT,
|
|
created_at TEXT NOT NULL,
|
|
updated_at TEXT NOT NULL
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS eval_cases (
|
|
id TEXT PRIMARY KEY,
|
|
suite_id TEXT NOT NULL,
|
|
sort_order INTEGER NOT NULL DEFAULT 0,
|
|
name TEXT NOT NULL,
|
|
model TEXT,
|
|
input_json TEXT NOT NULL,
|
|
expected_strategy TEXT NOT NULL,
|
|
expected_value TEXT,
|
|
tags_json TEXT,
|
|
created_at TEXT NOT NULL,
|
|
updated_at TEXT NOT NULL
|
|
);
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_eval_suites_updated_at
|
|
ON eval_suites(updated_at DESC);
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_eval_cases_suite_order
|
|
ON eval_cases(suite_id, sort_order ASC, created_at ASC);
|