File tree Expand file tree Collapse file tree
claude-sdk-python/src/app/api/copilotkit-voice/[[...slug]]
claude-sdk-typescript/src/app/api/copilotkit-voice/[[...slug]]
crewai-crews/src/app/api/copilotkit-voice/[[...slug]]
api/copilotkit-voice/[[...slug]]
llamaindex/src/app/api/copilotkit-voice/[[...slug]]
ms-agent-dotnet/src/app/api/copilotkit-voice/[[...slug]]
ms-agent-python/src/app/api/copilotkit-voice/[[...slug]]
pydantic-ai/src/app/api/copilotkit-voice/[[...slug]]
spring-ai/src/app/api/copilotkit-voice/[[...slug]]
strands/src/app/api/copilotkit-voice/[[...slug]] Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class GuardedOpenAITranscriptionService extends TranscriptionService {
4343 if ( ! this . delegate ) {
4444 throw new Error (
4545 "OPENAI_API_KEY not configured for this deployment (api key missing). " +
46- "Set OPENAI_API_KEY to enable voice transcription."
46+ "Set OPENAI_API_KEY to enable voice transcription." ,
4747 ) ;
4848 }
4949 return this . delegate . transcribeFile ( options ) ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class GuardedOpenAITranscriptionService extends TranscriptionService {
4343 if ( ! this . delegate ) {
4444 throw new Error (
4545 "OPENAI_API_KEY not configured for this deployment (api key missing). " +
46- "Set OPENAI_API_KEY to enable voice transcription."
46+ "Set OPENAI_API_KEY to enable voice transcription." ,
4747 ) ;
4848 }
4949 return this . delegate . transcribeFile ( options ) ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class GuardedOpenAITranscriptionService extends TranscriptionService {
4343 if ( ! this . delegate ) {
4444 throw new Error (
4545 "OPENAI_API_KEY not configured for this deployment (api key missing). " +
46- "Set OPENAI_API_KEY to enable voice transcription."
46+ "Set OPENAI_API_KEY to enable voice transcription." ,
4747 ) ;
4848 }
4949 return this . delegate . transcribeFile ( options ) ;
Original file line number Diff line number Diff line change 1616 "@copilotkit/runtime" : " next" ,
1717 "@copilotkit/shared" : " next" ,
1818 "@copilotkit/voice" : " next" ,
19- "openai" : " ^5.9.0" ,
2019 "@hashbrownai/core" : " 0.5.0-beta.4" ,
2120 "@hashbrownai/react" : " 0.5.0-beta.4" ,
2221 "@json-render/core" : " 0.18.0" ,
2322 "@json-render/react" : " 0.18.0" ,
2423 "next" : " ^15.5.15" ,
24+ "openai" : " ^5.9.0" ,
2525 "react" : " ^19.0.0" ,
2626 "react-dom" : " ^19.0.0" ,
2727 "recharts" : " ^2.15.0" ,
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class GuardedOpenAITranscriptionService extends TranscriptionService {
4242 if ( ! this . delegate ) {
4343 throw new Error (
4444 "OPENAI_API_KEY not configured for this deployment (api key missing). " +
45- "Set OPENAI_API_KEY to enable voice transcription."
45+ "Set OPENAI_API_KEY to enable voice transcription." ,
4646 ) ;
4747 }
4848 return this . delegate . transcribeFile ( options ) ;
Original file line number Diff line number Diff line change @@ -21,17 +21,17 @@ export default function VoiceDemoPage() {
2121 const handleTranscribed = useCallback ( ( text : string ) => {
2222 if ( typeof document === "undefined" ) return ;
2323 const textarea = document . querySelector < HTMLTextAreaElement > (
24- '[data-testid="copilot-chat-textarea"]'
24+ '[data-testid="copilot-chat-textarea"]' ,
2525 ) ;
2626 if ( ! textarea ) {
2727 console . warn (
28- "[voice-demo] could not find copilot-chat-textarea to populate"
28+ "[voice-demo] could not find copilot-chat-textarea to populate" ,
2929 ) ;
3030 return ;
3131 }
3232 const nativeSetter = Object . getOwnPropertyDescriptor (
3333 window . HTMLTextAreaElement . prototype ,
34- "value"
34+ "value" ,
3535 ) ?. set ;
3636 if ( nativeSetter ) {
3737 nativeSetter . call ( textarea , text ) ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class GuardedOpenAITranscriptionService extends TranscriptionService {
4949 if ( ! this . delegate ) {
5050 throw new Error (
5151 "OPENAI_API_KEY not configured for this deployment (api key missing). " +
52- "Set OPENAI_API_KEY to enable voice transcription."
52+ "Set OPENAI_API_KEY to enable voice transcription." ,
5353 ) ;
5454 }
5555 return this . delegate . transcribeFile ( options ) ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class GuardedOpenAITranscriptionService extends TranscriptionService {
4343 if ( ! this . delegate ) {
4444 throw new Error (
4545 "OPENAI_API_KEY not configured for this deployment (api key missing). " +
46- "Set OPENAI_API_KEY to enable voice transcription."
46+ "Set OPENAI_API_KEY to enable voice transcription." ,
4747 ) ;
4848 }
4949 return this . delegate . transcribeFile ( options ) ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class GuardedOpenAITranscriptionService extends TranscriptionService {
4545 if ( ! this . delegate ) {
4646 throw new Error (
4747 "OPENAI_API_KEY not configured for this deployment (api key missing). " +
48- "Set OPENAI_API_KEY to enable voice transcription."
48+ "Set OPENAI_API_KEY to enable voice transcription." ,
4949 ) ;
5050 }
5151 return this . delegate . transcribeFile ( options ) ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class GuardedOpenAITranscriptionService extends TranscriptionService {
4343 if ( ! this . delegate ) {
4444 throw new Error (
4545 "OPENAI_API_KEY not configured for this deployment (api key missing). " +
46- "Set OPENAI_API_KEY to enable voice transcription."
46+ "Set OPENAI_API_KEY to enable voice transcription." ,
4747 ) ;
4848 }
4949 return this . delegate . transcribeFile ( options ) ;
You can’t perform that action at this time.
0 commit comments