( modelSelection: ModelSelection | null | undefined, )
| 5 | } from "@t3tools/shared/model"; |
| 6 | |
| 7 | export function getCodexServiceTierOptionValue( |
| 8 | modelSelection: ModelSelection | null | undefined, |
| 9 | ): string | undefined { |
| 10 | return ( |
| 11 | getModelSelectionStringOptionValue(modelSelection, "serviceTier") ?? |
| 12 | (getModelSelectionBooleanOptionValue(modelSelection, "fastMode") === true ? "fast" : undefined) |
| 13 | ); |
| 14 | } |
no test coverage detected