From 8ca525dc7adce7860bc79ac8dfe54ab0e896a4ab Mon Sep 17 00:00:00 2001
From: H0llyW00dzZ <priv8@btz.pm>
Date: Mon, 25 Dec 2023 01:09:21 +0700
Subject: [PATCH] Fix [TypesScript] [LLM Api] Chaining Model

- [+] fix(api.ts): make provider property optional in LLMModel interface
---
 app/client/api.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/client/api.ts b/app/client/api.ts
index 30a220ea4..28ff7b162 100644
--- a/app/client/api.ts
+++ b/app/client/api.ts
@@ -46,7 +46,7 @@ export interface LLMUsage {
 export interface LLMModel {
   name: string;
   available: boolean;
-  provider: LLMModelProvider;
+  provider?: LLMModelProvider;
 }
 
 export interface LLMModelProvider {