refactor(config): migrate provider (Model + Info) to Effect Schema (#23197)
This commit is contained in:
parent
eafbe5c57c
commit
2899984819
2 changed files with 109 additions and 113 deletions
|
|
@ -171,7 +171,7 @@ export const Info = z
|
|||
.optional()
|
||||
.describe("Agent configuration, see https://opencode.ai/docs/agents"),
|
||||
provider: z
|
||||
.record(z.string(), ConfigProvider.Info)
|
||||
.record(z.string(), ConfigProvider.Info.zod)
|
||||
.optional()
|
||||
.describe("Custom provider configurations and model overrides"),
|
||||
mcp: z
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue