Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
/**
* Keep submitted ASR text visible while streaming refinement arrives.
*
* A refined prefix has no positional correspondence with the original text:
* removing filler words shifts every subsequent character. Keep the current
* text until the validated final result arrives instead of manufacturing a
* hybrid by appending an arbitrary original suffix.
*/
export function buildRefinementPreviewText(baseText: string, previewText: string): string {
return baseText || previewText;
}