mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-14 05:52:50 -05:00
fix: Remove replace message after complete receiving
This commit is contained in:
@ -215,7 +215,6 @@ ChatRootView {
|
||||
ThinkingStatusItem {
|
||||
width: parent.width
|
||||
thinkingContent: {
|
||||
// Extract thinking content and signature
|
||||
let content = model.content
|
||||
let signatureStart = content.indexOf("\n[Signature:")
|
||||
if (signatureStart >= 0) {
|
||||
@ -223,17 +222,6 @@ ChatRootView {
|
||||
}
|
||||
return content
|
||||
}
|
||||
signature: {
|
||||
let content = model.content
|
||||
let signatureStart = content.indexOf("\n[Signature: ")
|
||||
if (signatureStart >= 0) {
|
||||
let signatureEnd = content.indexOf("...]", signatureStart)
|
||||
if (signatureEnd >= 0) {
|
||||
return content.substring(signatureStart + 13, signatureEnd)
|
||||
}
|
||||
}
|
||||
return ""
|
||||
}
|
||||
isRedacted: model.isRedacted !== undefined ? model.isRedacted : false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user