Files
shumai/packages/webui/paraglide/messages/no_enabled_models.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.4 KiB
JavaScript
Generated

/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} No_Enabled_ModelsInputs */
const en_no_enabled_models = /** @type {(inputs: No_Enabled_ModelsInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`No media generation models enabled yet. Add at least one image or video model to enable the generation tools.`)
};
const zh_no_enabled_models = /** @type {(inputs: No_Enabled_ModelsInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`尚未启用任何媒体生成模型。添加至少一个图像或视频模型以启用生成工具。`)
};
/**
* | output |
* | --- |
* | "No media generation models enabled yet. Add at least one image or video model to enable the generation tools." |
*
* @param {No_Enabled_ModelsInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const no_enabled_models = /** @type {((inputs?: No_Enabled_ModelsInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<No_Enabled_ModelsInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === "en") return en_no_enabled_models(inputs)
return zh_no_enabled_models(inputs)
});