File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " gitclaw" ,
3- "version" : " 1.1.3 " ,
3+ "version" : " 1.1.5 " ,
44 "description" : " A universal git-native multimodal always learning AI Agent (TinyHuman)" ,
55 "author" : " shreyaskapale" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class OpenAIRealtimeAdapter implements MultimodalAdapter {
2929 this . onMessage = opts . onMessage ;
3030 this . toolHandler = opts . toolHandler ;
3131
32- const model = this . config . model || "gpt-4o- realtime-preview " ;
32+ const model = this . config . model || "gpt-realtime-1.5 " ;
3333 const url = `wss://api.openai.com/v1/realtime?model=${ model } ` ;
3434
3535 // Try direct WebSocket with headers first (native Node.js / real server)
@@ -51,6 +51,10 @@ export class OpenAIRealtimeAdapter implements MultimodalAdapter {
5151 }
5252
5353 // Fallback: get an ephemeral session token via REST (fetch headers work everywhere)
54+ const keyPreview = this . config . apiKey
55+ ? `${ this . config . apiKey . slice ( 0 , 7 ) } ...${ this . config . apiKey . slice ( - 4 ) } (${ this . config . apiKey . length } chars)`
56+ : "(empty)" ;
57+ console . log ( dim ( `[voice] API key: ${ keyPreview } ` ) ) ;
5458 const sessionResp = await fetch ( "https://api.openai.com/v1/realtime/sessions" , {
5559 method : "POST" ,
5660 headers : {
You can’t perform that action at this time.
0 commit comments