mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 03:18:31 +00:00
chore: generate
This commit is contained in:
parent
1fd8bf526d
commit
7077c70d60
1 changed files with 8 additions and 6 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue