feat(ask): add preview question type
This commit is contained in:
+1
-5
@@ -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" },
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user