We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d35b0f commit c88cb83Copy full SHA for c88cb83
1 file changed
apps/sim/lib/copilot/chat/persisted-message.ts
@@ -93,10 +93,7 @@ function resolveToolState(block: ContentBlock): PersistedToolState {
93
* metadata that drives the `Thought for Ns` chip survives the full
94
* persist → normalize → display round-trip — and one rule lives in one place.
95
*/
96
-export function withBlockTiming<T>(
97
- target: T,
98
- src: { timestamp?: number; endedAt?: number }
99
-): T {
+export function withBlockTiming<T>(target: T, src: { timestamp?: number; endedAt?: number }): T {
100
const writable = target as { timestamp?: number; endedAt?: number }
101
if (typeof src.timestamp === 'number') writable.timestamp = src.timestamp
102
if (typeof src.endedAt === 'number') writable.endedAt = src.endedAt
0 commit comments