mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 01:50:44 +08:00
fix(chat): fold tool_call main-channel text and fix aggregate row loss
- _buildRenderRows: include assistant content for event_type=tool_call as assistant_text items with assistantEventType=tool_call (was omitted). - Tag other assistant_text slices with assistantEventType for clarity. - _buildAggregatedAssistantBubble: for tool_call slices, add non-redundant main-channel text to the reasoning fold under reasoning.processNotes; skip when already covered by reasoning blocks (whitespace-normalized substring). Inline markdown for those process lines is omitted to avoid duplicate display. Bump chat.js cache query. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
5efac74f87
commit
4ea26a022b
2 changed files with 48 additions and 5 deletions
|
|
@ -574,7 +574,7 @@
|
|||
<script defer src="/admin/assets/admin-theme.js"></script>
|
||||
<script
|
||||
defer
|
||||
src="/admin/assets/chat.js?v=20260511-1"
|
||||
src="/admin/assets/chat.js?v=20260511-2"
|
||||
onerror="(function(){var s=document.getElementById('chat-boot-splash');if(s){s.querySelector('.chat-boot-splash__title span:last-child').textContent='无法加载 chat.js';s.querySelector('.chat-boot-splash__muted').textContent='请确认网关已启动且 /admin/assets/chat.js 可访问。';}})()"
|
||||
></script>
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue