Meow_MWAI_Engines_Google D

Total Complexity 330
Dependencies 8
Dependents 1
Total lines 1,749
Lines of code 1,177
Logical lines of code 759
Comment lines 358
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
retrieve_models()
D
10
85 307
run_completion_query()
D
21
59 173
format_model_name()
D
27
38 128
run_image_query()
D
26
33 141
build_messages()
D
28
30 135
format_function_call()
B
42 23 51
build_body()
A
45 11 42
get_price()
A
47 11 35
connection_check()
S
48 5 36
run_query()
S
50 5 29
check_for_error()
S
58 5 13
handle_tokens_usage()
S
62 5 11
build_options()
S
58 3 16
__construct()
S
66 3 8
format_function_response()
S
70 3 6
build_headers()
S
65 3 9
handle_response_errors()
S
64 3 9
set_environment()
S
60 2 14
create()
S
63 2 11
get_models()
S
80 1 3