From a9dedb87ac290edca089034d545b258656a7017d Mon Sep 17 00:00:00 2001 From: csgulati09 Date: Tue, 31 Dec 2024 13:28:42 +0530 Subject: [PATCH] fix: request message content type --- src/apis/chatCompletions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/chatCompletions.ts b/src/apis/chatCompletions.ts index e50a888..7a71705 100644 --- a/src/apis/chatCompletions.ts +++ b/src/apis/chatCompletions.ts @@ -84,7 +84,7 @@ interface Usage { interface Message { role: string; - content: string; + content: string | Array; refusal?: string; function_call?: any; tool_calls?: Array;