/** Generated by make gen-cli-localization. Do not edit. */
import { MESSAGE_249 } from "std/cli/localization/messages/part_49"
import { MESSAGE_270 } from "std/cli/localization/messages/part_54"
import { MESSAGE_301 } from "std/cli/localization/messages/part_60"
import { MESSAGE_310 } from "std/cli/localization/messages/part_62"
import { MessageTemplate, render_message } from "std/cli/message_template"
const MESSAGES: dict<string, MessageTemplate> = {
"no model recommendation for ram_bucket={0} gpu={1} has_provider_key={2}": MESSAGE_249,
"recommendation table requested a cloud default without cloud credentials": MESSAGE_270,
"{0} protocol={1}": MESSAGE_301,
"{0} route(s) declare the {1} operation": MESSAGE_310,
}
/**
* 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)
}