Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hallucinating that there are existing files present for empty project #4

Open
anand-presidio opened this issue Jan 10, 2025 · 0 comments
Labels
Bug Something isn't working Good First Issue Good for newcomers

Comments

@anand-presidio
Copy link
Collaborator

Which API Provider are you using?

OpenAI Compatible

Which Model are you using?

gpt-4o (Azure OpenAI)

What happened?

I asked HAI to create a sample Django app while I had an empty folder open. It searched for relevant files in the directory and displayed files that didn’t exist. After realizing they weren’t present, it proceeded to create the missing files.

Steps to reproduce

  1. Open an empty folder.
  2. Ensure that code indexing is enabled (check the initial VS Code notification at the bottom right).
  3. Ask HAI to create a sample app.

Relevant API REQUEST output

Error
Error reading file:
File not found: /Users/akarthikeyan/myspace/others/cline-test-hello/health_app/views.py

Additional context

I have attached the following screenshots for your reference:
Screenshot 2025-01-10 at 1 18 07 PM
Screenshot 2025-01-10 at 1 18 21 PM

Also i have attached the task.md file for the reference
task.md

@anand-presidio anand-presidio added Bug Something isn't working Good First Issue Good for newcomers labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Good First Issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant