MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / tokensToText

Function tokensToText

outdated/gemini/gemini.ts:1358–1358  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1356async function handleSettings(msg: Api.Message): Promise<void> {
1357 const switchToText = (value: string): string => value === "on" ? "开启" : "关闭";
1358 const tokensToText = (value: string): string => value === "0" ? "无限制" : value;
1359
1360 const settings = {
1361 "基础 URL": Utils.censorUrl(getConfig(CONFIG_KEYS.GEMINI_BASE_URL)),

Callers 1

handleSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected