mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
fix(cli): annotate nullable agent variant schema
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user