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

Fix filecreatortool JSON input handling #227

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jasonkneen
Copy link

@jasonkneen jasonkneen commented Jan 14, 2025

Fixes #217

Update filecreatortool to handle JSON input correctly without double nesting.

  • Add logic to check for and handle double nesting in the files key.
  • Ensure the files key can accept both a single object and an array of objects.
  • Adjust the return statement formatting for consistency.

For more details, open the Copilot Workspace session.

Fixes Doriandarko#217

Update `filecreatortool` to handle JSON input correctly without double nesting.

* Add logic to check for and handle double nesting in the `files` key.
* Ensure the `files` key can accept both a single object and an array of objects.
* Adjust the return statement formatting for consistency.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Doriandarko/claude-engineer/issues/217?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

filecreatortool called with wrong JSON
1 participant