Meow_MWAI_Query_Assistant A

Total Complexity 61
Dependencies 3
Dependents 3
Total lines 291
Lines of code 218
Logical lines of code 117
Comment lines 33
Methods 21
Properties 10

Methods 21

Method Rating Maintainability Complexity Lines of code
injectParams()
B
44 16 48
getPrompt()
A
51 8 26
validateMessages()
S
53 5 23
getLastMessage()
S
57 5 17
setMessages()
S
58 3 16
getPromptTokens()
S
69 3 7
setResponseFormat()
S
70 3 6
getImageURL()
S
68 3 8
getLastPrompt()
S
69 2 7
injectContext()
S
64 2 9
jsonSerialize()
S
58 1 15
getMessages()
S
82 1 3
__construct()
S
76 1 4
replace()
S
75 1 4
setThreadId()
S
81 1 3
setChatId()
S
81 1 3
setNewImageData()
S
77 1 4
setNewImage()
S
77 1 4
setNewMessage()
S
77 1 4
setPrompt()
S
77 1 4
setAssistantId()
S
81 1 3