"src/vscode:/vscode.git/clone" did not exist on "ceee865fbcb526fe49ccc128794520b838189708"
Unverified Commit 0656d4b1 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #202 from ollama-webui/fix-edit-chat

fix: edit chat message
parents 68c6f697 fb83c576
......@@ -7,7 +7,7 @@
import auto_render from 'katex/dist/contrib/auto-render.mjs';
import 'katex/dist/katex.min.css';
import { config, db, modelfiles, settings, user } from '$lib/stores';
import { chatId, config, db, modelfiles, settings, user } from '$lib/stores';
import { tick } from 'svelte';
import toast from 'svelte-french-toast';
......@@ -192,7 +192,7 @@
history.currentId = userMessageId;
await tick();
await sendPrompt(userPrompt, userMessageId);
await sendPrompt(userPrompt, userMessageId, $chatId);
};
const cancelEditMessage = (messageId) => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment