File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ export class GlamaHandler implements ApiHandler {
8080 stream : true ,
8181 } ) . withResponse ( ) ;
8282
83- const completionRequestUuid = response . headers . get (
84- 'x-completion-request-uuid ' ,
83+ const completionRequestId = response . headers . get (
84+ 'x-completion-request-id ' ,
8585 ) ;
8686
8787 for await ( const chunk of completion ) {
@@ -96,7 +96,7 @@ export class GlamaHandler implements ApiHandler {
9696 }
9797
9898 try {
99- const response = await axios . get ( `https://glama.ai/api/gateway/v1/completion-requests/${ completionRequestUuid } ` , {
99+ const response = await axios . get ( `https://glama.ai/api/gateway/v1/completion-requests/${ completionRequestId } ` , {
100100 headers : {
101101 Authorization : `Bearer ${ this . options . glamaApiKey } ` ,
102102 } ,
You can’t perform that action at this time.
0 commit comments