Skip to content

Commit

Permalink
Merge pull request #92 from Portkey-AI/hotfix/responseFormat
Browse files Browse the repository at this point in the history
response_format
  • Loading branch information
VisargD authored Jul 5, 2024
2 parents 8de11e5 + 44d4120 commit ec02638
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apis/chatCompletions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class ChatCompletions extends ApiResource {

export interface ChatCompletionsBodyBase extends ModelParams {
messages?: Array<Message>;
response_format?: object;
}

export interface ChatCompletionsBodyStreaming extends ChatCompletionsBodyBase {
Expand Down

0 comments on commit ec02638

Please sign in to comment.