Meow_MWAI_Engines_Google D

Total Complexity 249
Dependencies 8
Dependents 1
Total lines 1,244
Lines of code 845
Logical lines of code 531
Comment lines 243
Methods 19
Properties 7

Methods 19

Method Rating Maintainability Complexity Lines of code
retrieve_models()
D
23
51 161
run_completion_query()
D
24
48 144
format_model_name()
D
24
46 148
build_messages()
D
29
29 133
format_function_call()
B
42 23 51
build_body()
A
45 11 42
connection_check()
S
47 5 37
run_query()
S
50 5 29
check_for_error()
S
58 5 13
set_environment()
S
57 4 16
build_options()
S
58 3 16
__construct()
S
66 3 8
handle_tokens_usage()
S
69 3 6
handle_response_errors()
S
64 3 9
build_headers()
S
65 3 9
format_function_response()
S
70 3 6
create()
S
63 2 11
get_models()
S
80 1 3
get_price()
S
82 1 3