(
config: Config,
routePriority: string[],
overrides: Record<string, unknown> = {}
)
| 52 | } |
| 53 | |
| 54 | async function saveRoutePriority( |
| 55 | config: Config, |
| 56 | routePriority: string[], |
| 57 | overrides: Record<string, unknown> = {} |
| 58 | ): Promise<void> { |
| 59 | await config.saveConfig({ |
| 60 | ...config.loadConfigOrDefault(), |
| 61 | ...overrides, |
| 62 | routePriority, |
| 63 | }); |
| 64 | } |
| 65 | |
| 66 | type ResolveAndCreateModelResult = Awaited< |
| 67 | ReturnType<ProviderModelFactory["resolveAndCreateModel"]> |
no test coverage detected