mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-10-26 02:29:22 +08:00
Fix [TypesScript] [LLM Api] Chaining Model
- [+] fix(api.ts): make provider property optional in LLMModel interface
This commit is contained in:
@@ -46,7 +46,7 @@ export interface LLMUsage {
|
|||||||
export interface LLMModel {
|
export interface LLMModel {
|
||||||
name: string;
|
name: string;
|
||||||
available: boolean;
|
available: boolean;
|
||||||
provider: LLMModelProvider;
|
provider?: LLMModelProvider;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface LLMModelProvider {
|
export interface LLMModelProvider {
|
||||||
|
|||||||
Reference in New Issue
Block a user