Merge pull request 'main' (#30) from React-Group/interstellar_ai:main into main

Reviewed-on: https://interstellardevelopment.org/code/code/sageTheDm/interstellar_ai/pulls/30
This commit is contained in:
sageTheDm 2024-10-01 08:44:42 +02:00
commit 7bfaed2a27

View file

@ -183,6 +183,7 @@ const InputOutputBackend: React.FC = () => {
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 })
startGetWorker()
}