From 057268a7a71a1f524bcdbc70bc45527db95807d7 Mon Sep 17 00:00:00 2001 From: Anze Mur Date: Mon, 13 Nov 2023 12:13:36 +0100 Subject: [PATCH] Added chat completion requests missing parameter. --- openapi.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index a55a5e75..cff7e524 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -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 @@ -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 @@ -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: