Skip to content

Commit 2e8fad2

Browse files
Use the correct HTTP method
1 parent 686080c commit 2e8fad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/components/chat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<button
3131
type="submit"
3232
class="button"
33-
hx-get="/assistants/{assistant_id}/messages/send"
33+
hx-post="/assistants/{assistant_id}/messages/send"
3434
hx-target="#messages"
3535
hx-swap="beforeEnd"
3636
{% if inputDisabled %}disabled{% endif %}

0 commit comments

Comments
 (0)