feat: enhance usage statistics in qwen logger

This commit is contained in:
tanzhenxin
2025-11-21 15:17:34 +08:00
parent 640f30655d
commit 627283d357
2 changed files with 68 additions and 71 deletions

View File

@@ -286,9 +286,9 @@ describe('QwenLogger', () => {
event_type: 'action',
type: 'ide',
name: 'ide_connection',
snapshots: JSON.stringify({
properties: {
connection_type: IdeConnectionType.SESSION,
}),
},
}),
);
});
@@ -307,8 +307,10 @@ describe('QwenLogger', () => {
type: 'overflow',
name: 'kitty_sequence_overflow',
subtype: 'kitty_sequence_overflow',
snapshots: JSON.stringify({
properties: {
sequence_length: 1024,
},
snapshots: JSON.stringify({
truncated_sequence: 'truncated...',
}),
}),