Default server settings providers object
- Allow server settings to decode without an explicit providers block
This commit is contained in:
1 parent
14e81b90b6
commit
69e5d81ef6
1 file changed
+1
-1
@@ -39,7 +39,7 @@ export const ServerSettings = Schema.Struct({
|
||||
providers: Schema.Struct({
|
||||
codex: CodexSettings.pipe(Schema.withDecodingDefault(() => ({}))),
|
||||
claudeAgent: ClaudeSettings.pipe(Schema.withDecodingDefault(() => ({}))),
|
||||
}),
|
||||
}).pipe(Schema.withDecodingDefault(() => ({}))),
|
||||
});
|
||||
export type ServerSettings = typeof ServerSettings.Type;
|
||||
|
||||
|
||||
Reference in new issue
Block a user