mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
Actually fix.
This commit is contained in:
parent
704ce45a39
commit
d16306a205
2
main.qml
2
main.qml
@ -377,7 +377,7 @@ Window {
|
|||||||
if (isResponse && item.thumbsUpState !== item.thumbsDownState)
|
if (isResponse && item.thumbsUpState !== item.thumbsDownState)
|
||||||
str += ", \"rating\": \"" + (item.thumbsUpState ? "positive" : "negative") + "\"";
|
str += ", \"rating\": \"" + (item.thumbsUpState ? "positive" : "negative") + "\"";
|
||||||
if (isResponse && item.newResponse !== "")
|
if (isResponse && item.newResponse !== "")
|
||||||
str += ", \"edited_content\": \"" + JSON.stringify(item.newResponse) + "\"";
|
str += ", \"edited_content\": " + JSON.stringify(item.newResponse);
|
||||||
if (isResponse && item.stopped)
|
if (isResponse && item.stopped)
|
||||||
str += ", \"stopped\": \"true\""
|
str += ", \"stopped\": \"true\""
|
||||||
if (!isResponse)
|
if (!isResponse)
|
||||||
|
Loading…
Reference in New Issue
Block a user