Skip to content

Conversation

bhouston
Copy link
Member

@bhouston bhouston commented Mar 4, 2025

Description\n\nThis PR fixes the issue where text sent to GitHub via the gh CLI tool gets rendered with literal '\n\n' sequences in the GitHub issue text, rather than being properly formatted as newlines.\n\n## Changes\n\n- Added utility functions in to handle platform-specific newline escaping\n- Updated the system prompt to inform the AI about proper newline handling\n- Modified the shellStart tool to process GitHub CLI commands and properly escape newlines\n- Added tests for the new functionality\n\n## Testing\n\n- Added unit tests for the GitHub utility functions\n- Added a test for GitHub CLI command formatting in shellStart\n- Verified that all tests pass\n\nFixes #83

@bhouston
Copy link
Member Author

bhouston commented Mar 4, 2025

This PR doesn't work.

@bhouston bhouston closed this Mar 4, 2025
@bhouston bhouston deleted the fix-github-newlines-issue-83 branch March 12, 2025 02:09
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.

1 participant