bug fixed with sending message
This commit is contained in:
		
							parent
							
								
									df72de3695
								
							
						
					
					
						commit
						d306b7832d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -183,6 +183,7 @@ const InputOutputBackend: React.FC = () => { | ||||||
|               api_key = try_key |               api_key = try_key | ||||||
|             } |             } | ||||||
|           } |           } | ||||||
|  |           setInputMessage("") | ||||||
|           postWorkerRef.current.postMessage({ messages: [...messages, { role: "user", content: inputValue }], ai_model: localStorage.getItem('model'), model_type: type, access_token: accessToken, api_key: api_key }) |           postWorkerRef.current.postMessage({ messages: [...messages, { role: "user", content: inputValue }], ai_model: localStorage.getItem('model'), model_type: type, access_token: accessToken, api_key: api_key }) | ||||||
|           startGetWorker() |           startGetWorker() | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Patrick_Pluto
						Patrick_Pluto