Closed Frosendroska closed 2 months ago
The problem is now apparent:
The enum ChatMessageRole
is not pre-processed before sending the response. Thus, it comes into the response as User.
It should be turned into the corresponding lowercased strings.
Working on it
UPD: Fixed in #284
Description of changes made
The ticket with the explanation. In this PR I introduce the parsing of LLM response. I made the strategy for Kotlin and Java, since they have similar structure of tests. Moreover, mow we pass the language variable to different stages of the cycle.
Why is merge request needed
We need to know how to retrieve tests from response to be able to compile them then.
Other notes
Closes #907
What is missing?
Please note that in this PR I do not introduce the compilation part: we are not creating the compilable file with tests to represent them in the UI. We are just parsing the answer from LLM