mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
Add test scenario to verify message component prefixes display correctly: - Info message prefix (● filled circle) - Error message prefix (✕) - User message prefix (>) - Assistant message prefix (✦) Also refactors GIF generation to scenario-level for cleaner output. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
17 lines
477 B
TypeScript
17 lines
477 B
TypeScript
import type { ScenarioConfig } from '../scenario-runner.js';
|
|
|
|
export default {
|
|
name: '/qc:code-review',
|
|
spawn: ['node', 'dist/cli.js', '--yolo'],
|
|
terminal: { title: 'qwen-code', cwd: '../../..' },
|
|
flow: [
|
|
{
|
|
type: '/qc:code-review 2117',
|
|
streaming: {
|
|
delayMs: 10000, // Wait for initial model thinking/approval
|
|
intervalMs: 800, // Capture every 800ms
|
|
count: 30, // Max 30 captures
|
|
},
|
|
},
|
|
],
|
|
} satisfies ScenarioConfig;
|