File tree Expand file tree Collapse file tree
app/src/main/java/com/mardillu/openai/test Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments