Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

390 B
Raw Blame
type Language =
  | 'en'
  | 'es'
  | 'fr'
  | 'it'
  | 'hi'
  | 'id'
  | 'vn'
  | 'pl'
  | 'zh-CN'
  | 'zh-TW'
  | 'de-DE'
  | 'cs'
  | 'pt-BR'
  | 'ko'
  | 'ja'
  | 'ru'
  | 'ca'
interface LogEntry {
  timestamp: string | number
  level: 'info' | 'warn' | 'error' | 'debug'
  target: string
  message: string
}

type ErrorObject = {
  code?: string
  message: string
  details?: string
}