You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Getting "IndexError: list index out of range"
in "devika\src\agents\feature\feature.py"
on line "response = response.split("~~~", 1)[1]"
To Reproduce
Steps to reproduce the behavior:
I asked to finish a index.html for a onepager, not sure if this will be reproduced on every onepager.
Background: it first made just a list with tasks, I asked to complete the tasks by itself and create the index.html.
Expected behavior
Not give an error and finish the code.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Win11
Search Engine: DuckDuckGo
Model: Mistral using Ollama
Additional context
This keeps happening in this project when I ask something around finishing the code.
The text was updated successfully, but these errors were encountered:
mistral llm is asked to send the code in ~~~~ sign. However, if mistral is not trained with such a character, it sends the code without these signs. This is why this error is returned. If there is another way to separate code and text, it can be solved by trying
- Add numpy>=1.24.0 to requirements.txt
- Create setup.py with core dependencies
- Add environment validation in init_devika
- Update installation documentation
- Add tests for numpy validation
Fixesstitionai#372
Co-Authored-By: Erkin Alp Güney <[email protected]>
Describe the bug
Getting "IndexError: list index out of range"
in "devika\src\agents\feature\feature.py"
on line "response = response.split("~~~", 1)[1]"
To Reproduce
Steps to reproduce the behavior:
I asked to finish a index.html for a onepager, not sure if this will be reproduced on every onepager.
Background: it first made just a list with tasks, I asked to complete the tasks by itself and create the index.html.
Expected behavior
Not give an error and finish the code.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
This keeps happening in this project when I ask something around finishing the code.
The text was updated successfully, but these errors were encountered: