Meow_MWAI_Engines_Anthropic B

Total Complexity 93
Dependencies 7
Dependents 2
Total lines 480
Lines of code 383
Logical lines of code 207
Comment lines 41
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
build_body()
C
32 26 107
stream_data_handler()
B
39 20 60
run_completion_query()
B
38 15 67
build_messages()
A
47 7 41
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