From 36d6f60eccc7ef1c6c02eda528fe912f5e282954 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 24 Jan 2025 10:36:19 +0000 Subject: [PATCH] Update OpenAPI to version generated from ref 6db0657302da72f4e07dabfbddecfb4dd2660d1b --- api/openapi.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/api/openapi.json b/api/openapi.json index b1f5f96f..b6cbde0b 100644 --- a/api/openapi.json +++ b/api/openapi.json @@ -767,8 +767,7 @@ "title": "Provider" }, "type": { - "type": "string", - "title": "Type" + "$ref": "#/components/schemas/QuestionType" }, "chat_id": { "type": "string", @@ -897,6 +896,14 @@ "title": "QuestionAnswer", "description": "Represents a question and answer pair." }, + "QuestionType": { + "type": "string", + "enum": [ + "chat", + "fim" + ], + "title": "QuestionType" + }, "ValidationError": { "properties": { "loc": {