Files
shumai/packages/webui/paraglide/messages/enabled_media_models_description.js
T
Yiling-J 6285ff8618 feat(agent): add built-in image and video generation tools and settings (#382)
* feat(agent): add built-in image and video generation tools and settings

* fix(settings): refine media generation layout and expose media tools in agent and quota forms

* feat(media-generation): add alibaba, bytedance, minimax, prodia, and azure providers

* feat(agent): support s3 key references for media generation and s3KeyOnly in read_asset
2026-09-06 09:28:53 +08:00

29 lines
1.6 KiB
JavaScript
Generated

/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} Enabled_Media_Models_DescriptionInputs */
const en_enabled_media_models_description = /** @type {(inputs: Enabled_Media_Models_DescriptionInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Models enabled for the generate_image and generate_video tools. The first model of each type serves as default.`)
};
const zh_enabled_media_models_description = /** @type {(inputs: Enabled_Media_Models_DescriptionInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`供 generate_image 和 generate_video 工具使用的已启用模型。每种类型的第一个模型将作为默认模型。`)
};
/**
* | output |
* | --- |
* | "Models enabled for the generate_image and generate_video tools. The first model of each type serves as default." |
*
* @param {Enabled_Media_Models_DescriptionInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const enabled_media_models_description = /** @type {((inputs?: Enabled_Media_Models_DescriptionInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Enabled_Media_Models_DescriptionInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === "en") return en_enabled_media_models_description(inputs)
return zh_enabled_media_models_description(inputs)
});