provider.svelte.ts

Declarations
#

4 declarations

view source

Provider
#

provider.svelte.ts view source

inheritance

extends:
  • Cell<typeof ProviderJson>

name

type ProviderName

title

type string

url

type string

homepage

type string

company

type string

api_key_url

type string | null

models

type Array<Model>

readonly

status

Status for this provider (availability, error messages, etc.).

type ProviderStatus | null

readonly

available

Whether this provider is available (configured with API keys, etc.).

type boolean

readonly

constructor

type new (options: ProviderOptions): Provider

options

ProviderJson
#

provider.svelte.ts view source

ZodObject<{ id: ZodDefault<$ZodBranded<ZodUUID, "Uuid">>; created: ZodDefault<$ZodBranded<ZodISODateTime, "Datetime">>; ... 6 more ...; api_key_url: ZodNullable<...>; }, $strict>

ProviderJsonInput
#

provider.svelte.ts view source

{ name: "ollama" | "claude" | "chatgpt" | "gemini"; title: string; url: string; homepage: string; company: string; api_key_url: string | null; id?: string | undefined; created?: string | undefined; updated?: string | undefined; }

ProviderOptions
#

Depends on
#

Imported by
#