forked from xhgit/webup-cloud
Merge pull request '上下文压缩日志仅显示状态' (#12) from codex/quiet-context-compaction into main
Reviewed-on: http://git.xhmcl.com/xhgit/webup-cloud/pulls/12
This commit is contained in:
commit
1f25bbd1f9
3 files changed
+9
-7
No files matched your search
@@ -621,11 +621,11 @@ onUnmounted(() => clearInterval(timer));
|
||||
@scroll.passive="trackLogScroll"
|
||||
>
|
||||
<div v-for="e in events" :key="e.id">
|
||||
<small
|
||||
>{{ new Date(e.created_at).toLocaleTimeString() }} ·
|
||||
{{ e.event }}</small
|
||||
>
|
||||
<pre>{{ e.detail }}</pre>
|
||||
<small>
|
||||
{{ new Date(e.created_at).toLocaleTimeString() }}
|
||||
<template v-if="e.event !== 'CONTEXT_COMPACTED'"> · {{ e.event }}</template>
|
||||
</small>
|
||||
<pre>{{ e.event === "CONTEXT_COMPACTED" ? "压缩上下文中" : e.detail }}</pre>
|
||||
</div>
|
||||
<p v-if="!events.length" class="empty">等待任务事件</p>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user