Meow_MWAI_Engines_Google A

Total Complexity 69
Dependencies 6
Dependents 1
Total lines 454
Lines of code 320
Logical lines of code 166
Comment lines 92
Methods 15
Properties 7

Methods 15

Method Rating Maintainability Complexity Lines of code
build_messages()
A
40 11 68
run_completion_query()
A
39 10 63
retrieve_models()
A
42 10 51
run_query()
S
50 5 29
format_function_call()
S
58 5 15
check_for_error()
S
59 5 13
set_environment()
S
57 4 16
build_options()
S
58 3 16
__construct()
S
66 3 8
build_headers()
S
65 3 9
handle_tokens_usage()
S
69 3 6
handle_response_errors()
S
64 3 9
create()
S
63 2 11
get_models()
S
80 1 3
get_price()
S
82 1 3