feat(webui): polish agent output and app discovery
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export function compactReasoningPreview(value: string): string {
|
||||
return value
|
||||
.replace(/\[([^\]]+)]\([^)]+\)/g, "$1")
|
||||
.replace(/[*_#`~]+/g, "")
|
||||
.replace(/\s+/g, " ")
|
||||
.trim();
|
||||
}
|
||||
Reference in New Issue
Block a user