error
This commit is contained in:
parent
4e0e4d9d80
commit
007706c113
@ -117,6 +117,7 @@ export default function Home() {
|
||||
setResponse(response.data.choices[0].message.content);
|
||||
})
|
||||
.catch((error) => {
|
||||
setResponse("error");
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user