mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 13:19:48 +00:00
29 lines
1.4 KiB
JavaScript
Generated
29 lines
1.4 KiB
JavaScript
Generated
/* eslint-disable */
|
|
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
|
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
|
|
/** @typedef {{}} Agent_Logs_DescriptionInputs */
|
|
|
|
const en_agent_logs_description = /** @type {(inputs: Agent_Logs_DescriptionInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`Step-by-step execution trace of the agent's background tasks and tool calls.`)
|
|
};
|
|
|
|
const zh_agent_logs_description = /** @type {(inputs: Agent_Logs_DescriptionInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`智能体后台任务和工具调用的逐步执行跟踪。`)
|
|
};
|
|
|
|
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "Step-by-step execution trace of the agent's background tasks and tool calls." |
|
|
*
|
|
* @param {Agent_Logs_DescriptionInputs} inputs
|
|
* @param {{ locale?: "en" | "zh" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const agent_logs_description = /** @type {((inputs?: Agent_Logs_DescriptionInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Agent_Logs_DescriptionInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
if (locale === "en") return en_agent_logs_description(inputs)
|
|
return zh_agent_logs_description(inputs)
|
|
}); |