Skip to content

Commit 0511b26

Browse files
committed
chore: update Scheduler updater time & update close icon
1 parent a71c3da commit 0511b26

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/presenter/agentPresenter/streaming/streamUpdateScheduler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { eventBus, SendTarget } from '@/eventbus'
22
import { STREAM_EVENTS } from '@/events'
33
import type { LLMAgentEventData } from '@shared/presenter'
44

5-
export const STREAM_RENDER_FLUSH_INTERVAL_MS = 200
5+
export const STREAM_RENDER_FLUSH_INTERVAL_MS = 120
66
export const STREAM_DB_FLUSH_INTERVAL_MS = 600
77

88
interface PendingDelta {

src/renderer/src/components/ThreadsView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<template>
22
<div class="w-full h-full overflow-hidden p-2 space-y-3 shrink-0 border-r flex flex-col bg-card">
33
<!-- 固定在顶部的"新会话"按钮 -->
4-
<div class="flex-none flex flex-row gap-2">
4+
<div class="flex-none flex flex-row gap-2 justify-end">
55
<Button
66
variant="outline"
77
size="icon"
88
class="shrink-0 text-xs justify-center h-7 w-7"
99
@click="chatStore.isSidebarOpen = false"
1010
>
11-
<Icon icon="lucide:chevron-left" class="h-4 w-4" />
11+
<Icon icon="lucide:chevron-right" class="h-4 w-4" />
1212
</Button>
1313
</div>
1414

src/renderer/src/components/artifacts/ArtifactDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
>
1818
<div class="flex items-center gap-2 grow w-0">
1919
<button class="p-2 hover:bg-accent/50 rounded-md" @click="artifactStore.dismissArtifact">
20-
<Icon icon="lucide:arrow-left" class="w-4 h-4" />
20+
<Icon icon="lucide:chevron-right" class="w-4 h-4" />
2121
</button>
2222
<h2 class="text-sm font-medium truncate">{{ artifactStore.currentArtifact?.title }}</h2>
2323
</div>

0 commit comments

Comments
 (0)