d39e322bf0c10ede336ab59ea8d32429838447ec
- HWLAB v0.2 Final Response was being truncated to 5000 characters in traceAssistantSummaryRow and then again to 1200 characters in the CLI compactTraceRenderRow, even when the response was the assistant’s terminal (last) message. The same Final Response is what /v1/agent/chat/result returns as reply.content, so the trace view should show the full text and stay consistent with the CLI assistantText path. - Mark each rendered row with a terminal flag (true only for the terminal Final Response) and lift the body cap to Number.POSITIVE_INFINITY for terminal rows. The CLI Web-render path now passes the full body through when row.terminal is true and keeps the 1200 char preview for non-terminal streaming rows. - Add unit tests in web/hwlab-cloud-web/app-trace.test.ts and tools/hwlab-cli/client.test.ts to lock the behavior in for the terminal/no-truncate path and the streaming/2200 cap path. Refs: pikasTech/HWLAB#722
Description
UniDesk controlled mirror for pikasTech/HWLAB
Languages
TypeScript
63.3%
JavaScript
22%
Vue
7.4%
Go
3.2%
Python
1.9%
Other
2.1%