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

Improved multiline strings readability (fixed) #26

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

Conversation

antoninoLorenzo
Copy link

Commit Message
In order to improve code readability I used textwrap module from python standard library, specifically dedent function that is useful to remove the eccess indentation from multiline strings.

Other
This was a minor change that 99% shouldn't have messed up nothing, however I am unable to test it by myself given that I do not have Anthropic subscribtion (i.e no key).

In order to improve code readability I used textwrap module from python standard library, specifically dedent function that is useful to
remove the eccess indentation from multiline strings.
Copy link

sweep-ai bot commented May 17, 2024

Sweep: PR Review

Sweep is currently reviewing your pr...

{window_lines}
************************************
"""
return textwrap.dedent(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prompts are extremely sensitive to even whitesoace tokens. Will have to make sure there is no regression

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, technically there shouldn't have been any changes, however I will wait for updated.

@ObjectJosh ObjectJosh requested a review from Mihir1003 May 19, 2024 18:48
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.

None yet

2 participants