forked from open-webui/open-webui
		
	Merge pull request #202 from ollama-webui/fix-edit-chat
fix: edit chat message
This commit is contained in:
		
						commit
						0656d4b1a4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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) => { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Jaeryang Baek
						Timothy Jaeryang Baek