-
Home
-
AI Engine
-
2.7.6 (latest)
-
Code
-
Classes
- Meow_MWAI_Engines_OpenRouter
Total Complexity |
41 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
264 |
Lines of code |
178 |
Logical lines of code |
102 |
Comment lines |
41 |
Methods |
12 |
Properties |
1 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
retrieve_models() |
B |
37 |
17 |
71 |
handle_tokens_usage() |
A |
45 |
7 |
42 |
get_supported_models() |
S |
54 |
6 |
20 |
get_price() |
S |
65 |
3 |
8 |
build_headers() |
S |
62 |
1 |
11 |
__construct() |
S |
79 |
1 |
3 |
set_environment() |
S |
76 |
1 |
4 |
build_url() |
S |
74 |
1 |
4 |
build_body() |
S |
72 |
1 |
5 |
get_service_name() |
S |
82 |
1 |
3 |
get_models() |
S |
80 |
1 |
3 |
truncate_float() |
S |
74 |
1 |
4 |