You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!error) {
mainThread.pilot = body;
setPilot(body);
}
Make sure:
<textarea
name="pilot"
id="message"
rows="15"
className="mb-5 block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500"
placeholder="Write your thoughts here..."
value={pilot}
onChange={(e) => setPilot(e.target.value)} // Updates the pilot state when the textarea value changes.
></textarea>
The text was updated successfully, but these errors were encountered:
First, collect the response and the text completion value
Then update mainThread pilot
Make sure:
The text was updated successfully, but these errors were encountered: