Skip to content
System One

model-clis/jev

A stateless CLI for typed judgments with Jev, turning a state plus typed questions into JSON on stdout and exit codes a shell script can branch on.

model-clis/jev on GitHub

Stars
0
Forks
1
Language
Rust
License
MIT
Last push
18 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

use serde_json::Value;
use std::{error::Error, fmt, time::Duration};

pub const DEFAULT_BASE: &str = "https://api.typesafe.ai";
pub const DEFAULT_MODEL: &str = "jev-latest";
const ENDPOINT: &str = "/v1/systemone";
/// One attempt plus five retries, matching the documented backoff policy.
const MAX_ATTEMPTS: usize = 6;
const REQUEST_TIMEOUT: Duration = Duration::from_secs(30);

#[derive(Debug)]

View in src/api.rs

Open on GitHub

More like this

Keep browsing