websocket to a proxy server
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
2d456e5e1e
commit
2ed956a0f3
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ Only reply with one or two short English sentences at a time.`; // (keep your fu
|
||||||
const connectRealtime = async () => {
|
const connectRealtime = async () => {
|
||||||
if (wsRef.current) return;
|
if (wsRef.current) return;
|
||||||
|
|
||||||
const ws = new WebSocket(`wss://api.openai.com/v1/realtime?authorization=Bearer ${OPENAI_API_KEY}`);
|
const ws = new WebSocket(`wss://ai-tutor-proxy.techtransthai.org`);
|
||||||
wsRef.current = ws;
|
wsRef.current = ws;
|
||||||
|
|
||||||
ws.onopen = () => {
|
ws.onopen = () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue