opencode-agent[bot] 2 месяцев назад
Родитель
Сommit
7077c70d60
1 измененных файлов с 8 добавлено и 6 удалено
  1. 8 6
      packages/llm/src/schema/options.ts

+ 8 - 6
packages/llm/src/schema/options.ts

@@ -142,12 +142,14 @@ export class ModelDefaults extends Schema.Class<ModelDefaults>("LLM.ModelDefault
 }) {}
 
 export namespace ModelDefaults {
-  export type Input = ModelDefaults | {
-    readonly limits?: ModelLimits.Input
-    readonly generation?: GenerationOptions.Input
-    readonly providerOptions?: ProviderOptions
-    readonly http?: HttpOptions.Input
-  }
+  export type Input =
+    | ModelDefaults
+    | {
+        readonly limits?: ModelLimits.Input
+        readonly generation?: GenerationOptions.Input
+        readonly providerOptions?: ProviderOptions
+        readonly http?: HttpOptions.Input
+      }
 
   /** Normalize selected-model request defaults without applying precedence. */
   export const make = (input: Input) => {