Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
64b84c71
"...training_service/remote_machine/remoteMachineData.ts" did not exist on "806afeb6f4e1ee28086f46826c618e359849959a"
Commit
64b84c71
authored
Dec 05, 2023
by
Timothy J. Baek
Browse files
feat: edit response message
parent
93c2db7e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
src/lib/components/chat/Messages.svelte
src/lib/components/chat/Messages.svelte
+23
-0
No files found.
src/lib/components/chat/Messages.svelte
View file @
64b84c71
...
...
@@ -649,6 +649,29 @@
</button>
</div>
{/if}
<button
class=
"invisible group-hover:visible p-1 rounded dark:hover:bg-gray-800 transition"
on:click=
{()
=
>
{
editMessageHandler(message.id);
}}
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
viewBox=
"0 0 24 24"
stroke-width=
"1.5"
stroke=
"currentColor"
class=
"w-4 h-4"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
d=
"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"
/>
</svg>
</button>
<button
class=
"{messageIdx + 1 === messages.length
? 'visible'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment