Error: Request failed with status code 404
Describe the bug A clear and concise description of what the bug is.
Versions (please complete the following information):
- autoDocstring Version: 0.1.3
- Operating System: Windows 10
- Vscode Version: 1.65.2
Original Code (with line to generate on):
class IndexView(generic.ListView):
model = Category
queryset = Category.objects.filter()
template_name = 'landing/index.html'
Actual Result:
Error: Request failed with status code 404
Additional context
Upon using ai-docstring on my Django project I was getting the error Error: connect ECONNREFUSED 127.0.0.1:5000. I tried changing ai-docstring: sever endpoint to 127.0.0.1:8000.
Now I get the error 'Error: Request failed with status code 404'. Also, it seems like after using the extension, it sends a post request to the 'summery' URL which cannot be found on my running Django localserver:
'POST /summary HTTP/1.1" 404 2712'
That would be expected behavior, see #5
Changing to 127.0.0.1:8000 gives me the same issue (Error: connect ECONNREFUSED 127.0.0.1:8000) on VS Code