feat(ask): add preview question type

This commit is contained in:
Erik Kotsiuba
2026-04-17 13:24:39 +02:00
parent 6663a5e7db
commit eadd09dae6
6 changed files with 326 additions and 59 deletions
+1 -5
View File
@@ -23,11 +23,7 @@ export const AskQuestionSchema = Type.Object({
prompt: Type.String({ description: "Full question prompt" }),
type: Type.Optional(
Type.Union(
[
Type.Literal("single"),
Type.Literal("multi"),
Type.Literal("code-review"),
],
[Type.Literal("single"), Type.Literal("multi"), Type.Literal("preview")],
{ description: "Question type" },
),
),