Component evidence
TypeScript interfaces and constants for LLM providers and models.
// Source: https://github.com/Lucassssss/eechat | License: Apache-2.0 | Copyright 2024 9tharts <lucas@9tharts.com>
// Provided via justclaw.it.com; keep this notice with the code.
export interface LLMProvider {
id: string
name: string
state: boolean
api_url: string
official_url?: string
api_key_url?: string
docs_url?: string
models_url?: string
description?: string
}
export interface LLMModel {
id: string
name: string
provider_id: string
group_name: string
state: boolean
sort?: number
apiKey?: string
from?: 'config'
model_id?: string
type?: string
}
export interface LLMModelArray {
[key: string]: LLMModel | undefined
}
export interface APIConfig {
apiKey: string
baseUrl: string
config: Record<string, any>
state: boolean
info: Partial<{
... (truncated -- full source via MCP)