romaluev/jev-ego on GitHub
- Stars
- 15
- Forks
- 1
- Language
- TypeScript
- Last push
- 17 Sep 2026
Read from GitHub on . Counts change daily.
How it uses Jev
const started = performance.now();
const result = (await postJson("https://api.typesafe.ai/v1/systemone", key, body)) as {
answers?: Record<string, unknown>;
model?: string;
usage?: Record<string, unknown>;
};
const answers = result.answers ?? {};
const operationAnswer = validateChoice(answers.operation ?? {}, Object.keys(operations));
const operation = operationAnswer.choice;
let target: string | null = null;
let targetAnswer: ChoiceAnswer | null = null;
let choice = operation;
let probabilities: Record<string, number> = {};
const selectedTargets = targets[operation];


