log:简化启动时log

This commit is contained in:
SengokuCola
2026-05-06 16:06:21 +08:00
parent 98294b39ad
commit 3bdc2a9f70
20 changed files with 35 additions and 77 deletions

View File

@@ -113,22 +113,6 @@ export const FeaturesSection = React.memo(function FeaturesSection({
</p>
<div className="flex items-center space-x-2">
<Switch
id="global_memory"
checked={memoryConfig.global_memory ?? false}
onCheckedChange={(checked) =>
onMemoryChange({ ...memoryConfig, global_memory: checked })
}
/>
<Label htmlFor="global_memory" className="cursor-pointer">
</Label>
</div>
<p className="text-xs text-muted-foreground -mt-2">
</p>
{/* 聊天历史总结配置 */}
<div className="border-t pt-4 mt-4">
<h4 className="text-sm font-semibold mb-3"></h4>

View File

@@ -84,7 +84,6 @@ export interface MemoryConfig {
max_agent_iterations: number
agent_timeout_seconds: number
enable_jargon_detection: boolean
global_memory: boolean
chat_history_topic_check_message_threshold: number
chat_history_topic_check_time_hours: number
chat_history_topic_check_min_messages: number

View File

@@ -605,12 +605,12 @@ export function AppearanceTab() {
<div className="flex justify-between">
<Label>{t('settings.appearance.sidebarWidthLabel')}</Label>
<span className="text-sm text-muted-foreground">
{getTokenValue(themeConfig.tokenOverrides, 'layout', 'sidebar-width', '16rem')}
{getTokenValue(themeConfig.tokenOverrides, 'layout', 'sidebar-width', '13rem')}
</span>
</div>
<Slider
defaultValue={[16]}
value={[parseFloat(getTokenValue(themeConfig.tokenOverrides, 'layout', 'sidebar-width', '16'))]}
value={[parseFloat(getTokenValue(themeConfig.tokenOverrides, 'layout', 'sidebar-width', '13'))]}
min={12}
max={24}
step={0.5}