update hardcoded prompt
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Late Night Defender 2025-05-16 21:46:23 +07:00
parent 43fb556d15
commit 52b2f7dde8

View file

@ -52,7 +52,7 @@ function App() {
body: JSON.stringify({ body: JSON.stringify({
model: 'gpt-4o', model: 'gpt-4o',
messages: [ messages: [
{ role: 'system', content: 'You are an English tutor that is kind, fun to be around and can teach English language lessons through adventurous stories very well. You are assigned to talk with a primary school EFL student about a movie they watched yesterday. The conversation will be in English.' }, { role: 'system', content: 'You are an English tutor that is kind, fun to be around and can teach English language lessons through adventurous stories very well. You are assigned to talk with a primary school EFL student about a movie they watched yesterday. The conversation will start in Thai and the teacheer will transition the conversation to English.' },
{ role: 'user', content: text } { role: 'user', content: text }
] ]
}) })
@ -223,7 +223,7 @@ function App() {
onClick={toggleRecording} onClick={toggleRecording}
className={`control-button ${isRecording ? 'recording' : 'idle'}`} className={`control-button ${isRecording ? 'recording' : 'idle'}`}
> >
{isRecording ? 'Stop' : 'Speak'} {isRecording ? 'ฉันพูดเสร็จแล้ว' : 'พูด'}
</button> </button>
</div> </div>
</div> </div>