-
Home
-
AI Engine
-
2.8.6 (latest)
-
Code
-
Classes
- Meow_MWAI_Engines_Google
Total Complexity |
192 |
Dependencies |
8 |
Dependents |
1 |
Total lines |
1,011 |
Lines of code |
704 |
Logical lines of code |
404 |
Comment lines |
192 |
Methods |
19 |
Properties |
7 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
run_completion_query() |
D |
24 |
48 |
144 |
build_messages() |
D |
29 |
29 |
133 |
format_model_name() |
C |
34 |
23 |
84 |
format_function_call() |
B |
42 |
23 |
51 |
retrieve_models() |
B |
35 |
17 |
84 |
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 |
handle_tokens_usage() |
S |
69 |
3 |
6 |
handle_response_errors() |
S |
64 |
3 |
9 |
build_headers() |
S |
65 |
3 |
9 |
format_function_response() |
S |
70 |
3 |
6 |
create() |
S |
63 |
2 |
11 |
get_models() |
S |
80 |
1 |
3 |
get_price() |
S |
82 |
1 |
3 |