Browse Source

fix: remove unnecessary delay

Frank 1 year ago
parent
commit
6b048923c6
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/api/providers/glama.ts

+ 0 - 3
src/api/providers/glama.ts

@@ -95,9 +95,6 @@ export class GlamaHandler implements ApiHandler {
 			}
 			}
 		}
 		}
 
 
-		// The usage information is only available after a few moments after the completion
-		await delay(1000)
-
 		try {
 		try {
 			const response = await axios.get(`https://glama.ai/api/gateway/v1/completion-requests/${completionRequestUuid}`, {
 			const response = await axios.get(`https://glama.ai/api/gateway/v1/completion-requests/${completionRequestUuid}`, {
 				headers: {
 				headers: {