mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Remember to stringify the new response too.
This commit is contained in:
parent
2e0c9e4e13
commit
704ce45a39
2
main.qml
2
main.qml
@ -377,7 +377,7 @@ Window {
|
||||
if (isResponse && item.thumbsUpState !== item.thumbsDownState)
|
||||
str += ", \"rating\": \"" + (item.thumbsUpState ? "positive" : "negative") + "\"";
|
||||
if (isResponse && item.newResponse !== "")
|
||||
str += ", \"edited_content\": \"" + item.newResponse + "\"";
|
||||
str += ", \"edited_content\": \"" + JSON.stringify(item.newResponse) + "\"";
|
||||
if (isResponse && item.stopped)
|
||||
str += ", \"stopped\": \"true\""
|
||||
if (!isResponse)
|
||||
|
Loading…
Reference in New Issue
Block a user