Skip to content

Commit

Permalink
Added chat completion requests missing parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
anzemur committed Nov 13, 2023
1 parent aa666df commit 057268a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5626,6 +5626,9 @@ components:
type: string
enum: ["system"]
description: The role of the messages author, in this case `system`.
name:
type: string
description: An optional name for the participant. Provides the model information to differentiate between participants of the same role.
required:
- content
- role
Expand All @@ -5652,6 +5655,9 @@ components:
type: string
enum: ["user"]
description: The role of the messages author, in this case `user`.
name:
type: string
description: An optional name for the participant. Provides the model information to differentiate between participants of the same role.
required:
- content
- role
Expand All @@ -5669,6 +5675,9 @@ components:
type: string
enum: ["assistant"]
description: The role of the messages author, in this case `assistant`.
name:
type: string
description: An optional name for the participant. Provides the model information to differentiate between participants of the same role.
tool_calls:
$ref: "#/components/schemas/ChatCompletionMessageToolCalls"
function_call:
Expand Down

0 comments on commit 057268a

Please sign in to comment.