Skip to content
Snippets Groups Projects
Commit 687f642e authored by thucpn's avatar thucpn
Browse files

message from tool should be user role

parent babe9b42
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ class ChatWithToolsResponse { ...@@ -129,7 +129,7 @@ class ChatWithToolsResponse {
fullResponse += chunk.delta; fullResponse += chunk.delta;
} }
return { return {
role: "assistant", role: "user",
content: fullResponse, content: fullResponse,
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment