mattrguerra/cortexmainPrivate on GitHub, published here in full

ModelsResponse.ts

Language TypeScript506 B16 lines

src/ipc/gen/ModelsResponse.ts

  1. // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
  2. import type { ModelInfo } from "./ModelInfo";
  3. export type ModelsResponse = { models: Array<ModelInfo>,
  4. /**
  5. * `live`, `snapshot` or `local`
  6. */
  7. source: string,
  8. /**
  9. * When the list was fetched (ms), or the snapshot's date.
  10. */
  11. fetched_at: number | null, snapshot_date: string | null,
  12. /**
  13. * Why a refresh failed, if it did (the list above is then the fallback).
  14. */
  15. warning: string | null, };