Skip to content

Commit

Permalink
send multiple messages to backend
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmojaki committed Apr 1, 2024
1 parent b2c579a commit 8665bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/AI.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function AI({ messages, running }) {
editorContent,
assistant,
terms: terms.unparsed,
userMessage: userMessage.value,
messages: [...messages, {role: "user", content: userMessage.value}],
};
sendAiMessage(userMessage.value);
userMessage.setHookValue("");
Expand Down

0 comments on commit 8665bcd

Please sign in to comment.