forked from React-Group/interstellar_ai
multithread implementation
This commit is contained in:
parent
fe2bfa60ce
commit
3f8841a630
5 changed files with 99 additions and 40 deletions
|
@ -40,7 +40,6 @@ const InputBackend: React.FC = () => {
|
|||
if (chatResponse && chatResponse.choices && chatResponse.choices.length > 0) {
|
||||
if (chatResponse.choices[0].message.content) {
|
||||
addMessage('AI: ' + chatResponse.choices[0].message.content);
|
||||
console.log(messages)
|
||||
}
|
||||
} else {
|
||||
console.error('Error: Unexpected API response:', chatResponse);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue