Ray-Hughes/jevalyn on GitHub
- Stars
- 19
- Forks
- 1
- Language
- Ruby
- License
- MIT
- Last push
- 21 Sep 2026
Read from GitHub on . Counts change daily.
How it uses Jev
module Jevalyn
# Process-wide settings. Set these once in config/initializers/jevalyn.rb.
class Configuration
DEFAULT_BASE_URL = "https://api.typesafe.ai"
DEFAULT_MODEL = "jev-latest"
# The official SDKs default to 10s. Jev answers in well under a second, so a
# long timeout only means a slow request holds a Rails thread open.
DEFAULT_TIMEOUT = 10.0
DEFAULT_OPEN_TIMEOUT = 5.0
# 429 and 529 are expected under load; the API asks us to back off, not give up.
DEFAULT_MAX_RETRIES = 2
DEFAULT_RETRY_BACKOFF = 0.5
