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

When requesting to write to a file, not getting the file actually written #558

Open
bzorn opened this issue Jun 20, 2024 · 6 comments
Open
Labels
bug Something isn't working

Comments

@bzorn
Copy link
Collaborator

bzorn commented Jun 20, 2024

The script says:
Write output to the file analysis.md.

The trace shows:

File /path_to_file/analysis.md:

# Monthly Sales Data Analysis
...

I get the refactoring view that looks like this:
analysis.md \path_to_file

I'm not sure if and where the file is written but it isn't in the directory where the file that I ran the script over is.

@bzorn bzorn added the bug Something isn't working label Jun 20, 2024
@pelikhan
Copy link
Member

can you attach a repro?

@bzorn
Copy link
Collaborator Author

bzorn commented Jul 2, 2024

On further investigation, I see that the files are being written into this directory:

image

C:\path_to_file

@pelikhan
Copy link
Member

pelikhan commented Jul 2, 2024

Do you know which model you are using?

@bzorn
Copy link
Collaborator Author

bzorn commented Jul 2, 2024

gpt-4-turbo

@pelikhan
Copy link
Member

pelikhan commented Jul 3, 2024

I think I am going to add a defFileOutput(...) function to declaratively define the expected generated files and path.

@pelikhan
Copy link
Member

i was able to repro this. the LLM is confused by our system prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants