-
Home
-
AI Engine
-
3.1.1
-
Code
-
Classes
- Meow_MWAI_Engines_Google
| Total Complexity |
290 |
| Dependencies |
8 |
| Dependents |
1 |
| Total lines |
1,488 |
| Lines of code |
1,003 |
| Logical lines of code |
632 |
| Comment lines |
286 |
| Methods |
20 |
| Properties |
7 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| retrieve_models() |
D |
17 |
67 |
217 |
| run_completion_query() |
D |
21 |
59 |
173 |
| format_model_name() |
D |
27 |
40 |
131 |
| build_messages() |
D |
29 |
29 |
133 |
| format_function_call() |
B |
42 |
23 |
51 |
| run_image_query() |
B |
33 |
20 |
90 |
| build_body() |
A |
45 |
11 |
42 |
| connection_check() |
S |
47 |
5 |
37 |
| run_query() |
S |
50 |
5 |
29 |
| check_for_error() |
S |
58 |
5 |
13 |
| set_environment() |
S |
57 |
4 |
16 |
| build_options() |
S |
58 |
3 |
16 |
| __construct() |
S |
66 |
3 |
8 |
| format_function_response() |
S |
70 |
3 |
6 |
| 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 |