@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
40 lines (34 loc) • 784 B
text/typescript
interface ModelPricing {
completion: string;
image: string;
prompt: string;
request: string;
}
interface ModelArchitecture {
instruct_type: string | null;
modality: string;
tokenizer: string;
}
interface ModelTopProvider {
is_moderated: boolean;
max_completion_tokens: number | null;
}
export interface OpenRouterModelCard {
architecture: ModelArchitecture;
context_length: number;
created: number;
description: string;
id: string;
name: string;
per_request_limits: any | null;
pricing: ModelPricing;
top_provider: ModelTopProvider;
}
interface OpenRouterModelEndpoint {
supports_reasoning?: boolean;
supports_tool_parameters?: boolean;
}
export interface OpenRouterModelExtraInfo {
endpoint?: OpenRouterModelEndpoint;
slug: string;
}