Skip to content
System One

phureewat29/jev-got

Game of Thrones roleplay where a story model writes each scene and Jev reads it back, answering five questions in parallel: where Jon stands, the kind of beat, the danger, what should play under it, and whether the prose stayed inside the fiction. The header, soundtrack, artwork and next prompt are all functions of those answers.

phureewat29/jev-got on GitHub

Stars
2
Forks
0
Language
TypeScript
Last push
19 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

 * carries the catalog ids into `Answers`. The span is added by hand instead.
 */
const evaluate = <const Q extends Questions>(state: EntryType, questions: Q) =>
  Effect.tryPromise({
    try: (signal) => client.systemOne({ state, questions }, { signal }),
    catch: (cause) => new QuestionError({ message: describeCause(cause) }),
  }).pipe(
    Effect.timeout(budget),
    Effect.catchTag(
      "TimeoutException",
      () => new QuestionError({ message: `Jev did not answer within ${Duration.format(budget)}` }),
    ),
    Effect.withSpan("QuestionModel.evaluate", { attributes: { model: options.model } }),
  );

View in src/core/providers/TypeSafe.ts

Open on GitHub

More like this

Keep browsing