colinmcdermott/emoji-jev on GitHub
- Stars
- 2
- Forks
- 0
- Language
- TypeScript
- Last push
- 17 Sep 2026
Read from GitHub on . Counts change daily.
How it uses Jev
const { via, key } = await resolveModel()
const res =
via === 'typesafe'
? await fetch('https://api.typesafe.ai/v1/models', { headers: { authorization: `Bearer ${key}` } })
: await fetch('https://ai-gateway.vercel.sh/v1/credits', { headers: { authorization: `Bearer ${key}` } })
await res.arrayBuffer()
} catch {
// warm-up is best effortView in src/routes/api/warm.ts



