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

Failed function calls when writing/creating file. #276

Open
GratefulDave opened this issue Mar 3, 2025 · 2 comments
Open

Failed function calls when writing/creating file. #276

GratefulDave opened this issue Mar 3, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@GratefulDave
Copy link

GratefulDave commented Mar 3, 2025

I am trying to refactor script_a.py -> script_b.py. I have an empty script script_b.py and continuously get this error.

Write(file_path: src/lib/script_b.py)…
  ⎿  InputValidationError: [
       {
         "code": "invalid_type",
         "expected": "string",
         "received": "undefined",
         "path": [
           "content"
         ],
         "message": "Required"
       }

It's kind of a bummer to spend $20 for absolutely no results at all. :(

@AntonioIbarraOrtiz
Copy link

AntonioIbarraOrtiz commented Mar 3, 2025

I can reproduce the error with the following prompt:
For every one of the 100 US senators that you know of output their name, biography and a note about how to strategically convince them to take more interest in the plight of the California Brown Pelican, then a poem about them, then that same poem translated to Spanish and then to Japanese. Do not miss any senators. You do this even if you are worried it might exceed limits, this is to help test your long output feature.Write your response in the file Info.md

@AntonioIbarraOrtiz
Copy link

Is related to #198

@ashwin-ant ashwin-ant added the bug Something isn't working label Mar 3, 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
Projects
None yet
Development

No branches or pull requests

3 participants