Meow_MWAI_Engines_Google A

Total Complexity 64
Dependencies 3
Dependents 1
Total lines 432
Lines of code 314
Logical lines of code 177
Comment lines 55
Methods 14
Properties 7

Methods 14

Method Rating Maintainability Complexity Lines of code
run_completion_query()
B
34 15 91
retrieve_models()
A
43 8 48
build_messages()
A
46 7 42
run_query()
S
49 7 30
check_for_error()
S
54 5 20
stream_data_handler()
S
61 5 11
build_options()
S
57 3 17
build_headers()
S
62 3 12
handle_tokens_usage()
S
62 3 12
handle_response_errors()
S
64 3 9
set_environment()
S
61 2 12
__construct()
S
76 1 4
get_models()
S
80 1 3
get_price()
S
82 1 3