Skip to content

Commit

Permalink
Merge pull request #157 from Portkey-AI/hotfix/messageType
Browse files Browse the repository at this point in the history
fix: request message content type
  • Loading branch information
csgulati09 authored Dec 31, 2024
2 parents d185c1e + a9dedb8 commit adc9e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/chatCompletions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ interface Usage {

interface Message {
role: string;
content: string;
content: string | Array<any>;
refusal?: string;
function_call?: any;
tool_calls?: Array<ChatCompletionMessageToolCall>;
Expand Down

0 comments on commit adc9e7e

Please sign in to comment.