Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ Exit codes:

The GitHub modes use the `gh` CLI. The key comes from `$OPENROUTER_API_KEY`,
else the `OPENROUTER_API_KEY` line in `~/.config/gitmoot/keychain.env`. The
model is pinned to `typesafe/jev-1.13`.
default model is OpenRouter's rolling `~typesafe/jev-latest` alias (including the
leading `~`), not a pinned release. The System One endpoint is unchanged.
The response may name a concrete model; do not infer that release from the alias.

## Local receipts

Expand Down
8 changes: 4 additions & 4 deletions internal/jev/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import (
const (
// DefaultEndpoint is OpenRouter's System One route.
DefaultEndpoint = "https://openrouter.ai/api/v1/systemone"
// DefaultModel is pinned so a model release never silently changes a
// decision surface that was measured against a specific version.
DefaultModel = "typesafe/jev-1.13"
// DefaultModel follows the rolling OpenRouter alias; a response may name
// the concrete release selected for that request.
DefaultModel = "~typesafe/jev-latest"
DefaultTimeout = 20 * time.Second
DefaultMaxRetries = 2
)

// Request is the body of POST /api/v1/systemone: a state, a pinned model,
// Request is the body of POST /api/v1/systemone: a state, a model selector,
// and a map of typed questions.
type Request struct {
State any `json:"state"`
Expand Down
Loading