fix(webui): remove unused bot identity settings

This commit is contained in:
chengyongru
2026-08-03 14:06:44 +08:00
committed by chengyongru
parent f7a6bc2d21
commit 5c72fdcd88
19 changed files with 29 additions and 122 deletions
-2
View File
@@ -858,8 +858,6 @@ export async function updateSettings(
query.set("context_window_tokens", String(update.contextWindowTokens));
}
if (update.timezone !== undefined) query.set("timezone", update.timezone);
if (update.botName !== undefined) query.set("bot_name", update.botName);
if (update.botIcon !== undefined) query.set("bot_icon", update.botIcon);
if (update.toolHintMaxLength !== undefined) {
query.set("tool_hint_max_length", String(update.toolHintMaxLength));
}
-4
View File
@@ -490,8 +490,6 @@ export interface SettingsPayload {
temperature: number;
reasoning_effort: string | null;
timezone: string;
bot_name: string;
bot_icon: string;
tool_hint_max_length: number;
};
model_presets: Array<{
@@ -1028,8 +1026,6 @@ export interface SettingsUpdate {
modelPreset?: string | null;
contextWindowTokens?: number;
timezone?: string;
botName?: string;
botIcon?: string;
toolHintMaxLength?: number;
}