mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 11:55:46 +00:00
refactor(config): use Schema.Literals
This commit is contained in:
@@ -25,7 +25,7 @@ const Mode = Schema.Struct({
|
||||
const Interleaved = Schema.Union([
|
||||
Schema.Boolean,
|
||||
Schema.Struct({
|
||||
field: Schema.Union([Schema.Literal("reasoning_content"), Schema.Literal("reasoning_details")]),
|
||||
field: Schema.Literals(["reasoning_content", "reasoning_details"]),
|
||||
}),
|
||||
]).annotate({ identifier: "ConfigProvidersModelInterleaved" })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user