Skip to content

Commit fe27231

Browse files
committed
Removed api logging test
1 parent 74a2409 commit fe27231

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

app/src/main/java/com/mardillu/openai/test/MainActivity.kt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ class MainActivity : AppCompatActivity() {
2020
val chatGptService = OpenApiClient()
2121
val loggingApiService = LoggingClient()
2222

23-
loggingApiService.logRequestTime(
24-
"user/login",
25-
200,
26-
500,
27-
300,
28-
200,
29-
){ result, error ->
30-
if (error != null){
31-
Log.d("TAG", "onCreate: =======> FAILED <============")
32-
error.printStackTrace()
33-
} else {
34-
Log.d("TAG", "onCreate: =======> SUCCESS <============")
35-
}
36-
}
23+
// loggingApiService.logRequestTime(
24+
// "test/test",
25+
// 200,
26+
// 500,
27+
// 300,
28+
// 200,
29+
// ){ result, error ->
30+
// if (error != null){
31+
// Log.d("TAG", "onCreate: =======> FAILED <============")
32+
// error.printStackTrace()
33+
// } else {
34+
// Log.d("TAG", "onCreate: =======> SUCCESS <============")
35+
// }
36+
// }
3737

3838
chatGptService.getTextCompletion("Hello chat gpt! what is the meaning of life?") { result, error ->
3939
if (error != null) {

0 commit comments

Comments
 (0)