(model: RunInput["model"], input: RunSession | SessionMessages)
| 76 | } |
| 77 | |
| 78 | export function pickVariant(model: RunInput["model"], input: RunSession | SessionMessages): string | undefined { |
| 79 | return sessionVariant(Array.isArray(input) ? createSession(input) : input, model) |
| 80 | } |
| 81 | |
| 82 | function fitVariant(value: string | undefined, variants: string[]): string | undefined { |
| 83 | if (!value) { |
no test coverage detected