You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
router option: jev (TypeSafe, default), laya or kev (self-hosted), each with its own default endpoint, model id and key variable (TYPESAFE_API_KEY, LAYA_API_KEY, KEV_API_KEY). routerModel and routerUrl override them. /jev status shows the active router.
Configurable routerModel and routerUrl options, to route with a pinned Jev version or a hosted Laya or Kev.
Fixed
An invalid effortCap or ceiling value now falls back to the lean values (medium, sonnet). Before, it fell back to high and no ceiling, so a typo quietly raised cost.
The router timeout timer is cancelled as soon as the router answers, so no stray timer is left behind each step.
/jev lists every command in its unknown-option reply (preset, ceiling, floor, stats clear were missing).
The effortCap setting help text no longer repeats itself.
Security
A TypeSafe key from /jev key or TYPESAFE_API_KEY is only sent to api.typesafe.ai, never to a custom routerUrl.