fix(cli): annotate nullable agent variant schema

This commit is contained in:
marius-kilocode
2026-06-01 15:57:20 +02:00
parent cb1fdb3b1b
commit 2a264819f4
+2 -1
View File
@@ -30,10 +30,11 @@ const Color = Schema.Union([
const AgentSchema = Schema.StructWithRest(
Schema.Struct({
model: Schema.optional(Schema.NullOr(ConfigModelID)), // kilocode_change - nullable for delete sentinel
// kilocode_change - nullable for delete sentinel
// kilocode_change start - nullable for delete sentinel
variant: Schema.optional(Schema.NullOr(Schema.String)).annotate({
description: "Default model variant for this agent (applies only when using the agent's configured model).",
}),
// kilocode_change end
temperature: Schema.optional(Schema.NullOr(Schema.Finite)), // kilocode_change - nullable for delete sentinel
top_p: Schema.optional(Schema.NullOr(Schema.Finite)), // kilocode_change - nullable for delete sentinel
prompt: Schema.optional(Schema.NullOr(Schema.String)), // kilocode_change - nullable for delete sentinel