mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-11 09:13:24 +00:00
make models key optional in config
This commit is contained in:
parent
e8d144d2a2
commit
c51a34bf4b
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ export namespace Config {
|
|||
.record(
|
||||
ModelsDev.Provider.partial()
|
||||
.extend({
|
||||
models: z.record(ModelsDev.Model.partial()),
|
||||
models: z.record(ModelsDev.Model.partial()).optional(),
|
||||
options: z
|
||||
.object({
|
||||
apiKey: z.string().optional(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue