Meow_MWAI_Engines_Anthropic B

Total Complexity 85
Dependencies 6
Dependents 2
Total lines 444
Lines of code 356
Logical lines of code 189
Comment lines 37
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
build_body()
B
35 20 89
stream_data_handler()
B
39 20 60
run_completion_query()
A
39 14 62
build_messages()
S
48 6 37
create_choices()
S
51 5 29
replaceEmptyArrayWithObject()
S
63 4 11
handle_tokens_usage()
S
63 4 10
build_url()
S
63 3 10
reset_stream()
S
59 1 16
build_headers()
S
63 1 11
get_models()
S
79 1 3
get_models_static()
S
81 1 3
__construct()
S
79 1 3
get_service_name()
S
82 1 3
final_checks()
S
91 1 2
set_environment()
S
76 1 4
get_price()
S
79 1 3