feat(ai): type OpenRouter request options (#39508)
This commit is contained in:
parent
9d6af6afa4
commit
5a78a17e49
2 changed files with 14 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ export const configure = (input: ModelOptions = {}) => {
|
|||
const route = configuredRoute(input)
|
||||
return {
|
||||
id,
|
||||
model: (modelID: string | ModelID) => route.model({ id: modelID }),
|
||||
model: (modelID: string | ModelID) => route.model<OpenRouterProviderOptionsInput>({ id: modelID }),
|
||||
configure,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue