mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-23 04:26:05 +00:00
refactor(config): use Schema.Literals
This commit is contained in:
parent
2a118b5214
commit
5435a699b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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" })
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue