/** Generated by make gen-cli-localization. Do not edit. */
import { MESSAGE_3, MESSAGE_4 } from "std/cli/localization/messages/part_0"
import { MESSAGE_5, MESSAGE_8, MESSAGE_9 } from "std/cli/localization/messages/part_1"
import { MESSAGE_93 } from "std/cli/localization/messages/part_18"
import { MESSAGE_95 } from "std/cli/localization/messages/part_19"
import { MESSAGE_12 } from "std/cli/localization/messages/part_2"
import {
MESSAGE_101,
MESSAGE_102,
MESSAGE_103,
MESSAGE_104,
} from "std/cli/localization/messages/part_20"
import { MESSAGE_113 } from "std/cli/localization/messages/part_22"
import { MESSAGE_123 } from "std/cli/localization/messages/part_24"
import { MESSAGE_127 } from "std/cli/localization/messages/part_25"
import { MESSAGE_132, MESSAGE_133 } from "std/cli/localization/messages/part_26"
import { MESSAGE_136, MESSAGE_137, MESSAGE_138 } from "std/cli/localization/messages/part_27"
import { MESSAGE_147 } from "std/cli/localization/messages/part_29"
import { MESSAGE_153, MESSAGE_154 } from "std/cli/localization/messages/part_30"
import { MESSAGE_156, MESSAGE_157, MESSAGE_158 } from "std/cli/localization/messages/part_31"
import { MESSAGE_168, MESSAGE_169 } from "std/cli/localization/messages/part_33"
import { MESSAGE_200 } from "std/cli/localization/messages/part_40"
import { MESSAGE_214 } from "std/cli/localization/messages/part_42"
import { MESSAGE_216 } from "std/cli/localization/messages/part_43"
import { MESSAGE_231 } from "std/cli/localization/messages/part_46"
import { MESSAGE_27 } from "std/cli/localization/messages/part_5"
import { MESSAGE_255 } from "std/cli/localization/messages/part_51"
import { MESSAGE_261, MESSAGE_262, MESSAGE_263 } from "std/cli/localization/messages/part_52"
import { MESSAGE_282 } from "std/cli/localization/messages/part_56"
import { MESSAGE_293 } from "std/cli/localization/messages/part_58"
import { MESSAGE_38 } from "std/cli/localization/messages/part_7"
import { MESSAGE_44 } from "std/cli/localization/messages/part_8"
import { MessageTemplate, render_message } from "std/cli/message_template"
const MESSAGES: dict<string, MessageTemplate> = {
" LoRA hparams: rank={0} alpha={1} dropout={2}": MESSAGE_3,
" LoRA module format: {0}": MESSAGE_4,
" adapter binding: {0}": MESSAGE_5,
" adapter precision: {0}": MESSAGE_8,
" adapter reference: {0}": MESSAGE_9,
" assistant mask: {0}": MESSAGE_12,
" chat template: {0}": MESSAGE_27,
" contract: {0}": MESSAGE_38,
" dataset format: {0}": MESSAGE_44,
" output: {0}": MESSAGE_93,
" parser owner: {0}": MESSAGE_95,
" producer: {0}": MESSAGE_101,
" promotion baseline: {0}": MESSAGE_102,
" promotion id: {0}": MESSAGE_103,
" promotion minimum trials: {0}": MESSAGE_104,
" request model: {0}": MESSAGE_113,
" serving base precision: {0}": MESSAGE_123,
" split policy: {0}": MESSAGE_127,
" target module policy: {0}": MESSAGE_132,
" target modules: {0}": MESSAGE_133,
" teacher: {0} via {1}": MESSAGE_136,
" template source: {0}": MESSAGE_137,
" template: {0}": MESSAGE_138,
" tool format: {0} (requested {1})": MESSAGE_147,
" trainer: {0}": MESSAGE_153,
" training base precision: {0}": MESSAGE_154,
" training compute precision: {0}": MESSAGE_156,
" training run: {0}": MESSAGE_157,
" training: {0} + {1}": MESSAGE_158,
" {0}: {1} ({2}, exists={3}){4}": MESSAGE_168,
" sha256={0}": MESSAGE_169,
"LoRA manifest for {0} on {1} via {2}": MESSAGE_200,
"batch eval manifest": MESSAGE_214,
"batch receipts": MESSAGE_216,
eval: MESSAGE_231,
"precision gates": MESSAGE_255,
"promotion gates": MESSAGE_261,
"promotion metrics": MESSAGE_262,
"promotion receipts": MESSAGE_263,
"template requirements": MESSAGE_282,
warnings: MESSAGE_293,
}
/**
* Select a registered CLI template without interpreting argument text.
* @effects: []
* @errors: ["Unregistered CLI localization message", "CLI localization argument count does not match its registered template"]
*/
pub fn cli_message(locale: string, source: string, values: list<string>) -> string {
const template = MESSAGES[source]
guard template != nil else {
throw "Unregistered CLI localization message"
}
return render_message(template, locale, values)
}