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

Pieces plugin for UltraEdit is unresponsive after asking copilot to describe ~3000 line .py script #586

Open
1 task
bschwenk opened this issue Jan 13, 2025 · 5 comments
Assignees
Labels
app:cli app:desktop application bug Something isn't working os:windows status:triaged The ticket has been reviewed, prioritized, categorized, and assigned to the appropriate team member.

Comments

@bschwenk
Copy link

bschwenk commented Jan 13, 2025

Software

Desktop Application

Operating System / Platform

Windows

Your Pieces OS Version

11.0.3

Early Access Program

  • Yes, this is related to an Early Access Program feature.

Kindly describe the bug and include as much detail as possible on what you were doing so we can reproduce the bug.

In UltraEdit I opened the python script available at https://github.com/eldraco/domain_analyzer/blob/master/domain_analyzer.py. I opened the Pieces plugin and using default settings prompted it to describe the script: "What does this Python script do?" The UE plugin never returns any content and seems to be unresponsive.

In Pieces Desktop, I do see the result, however interaction with it is latent indicating some sort of continual background processing even though the LLM has completed processing. Additionally, there seem to be significant scroll issues, and the code view doesn't appear to be calculating line numbers correctly, showing many empty lines after line 1,918, when line 2,837 is the last line in the file.

Finally, the Pieces Desktop code view shows a wrap in the line number margin.

Image

@pieces-support-bot
Copy link

Hi @bschwenk - Thank you so much for creating this issue. Your issue has been automatically triaged and routed to the proper Pieces team member. Look for a follow-up within the next 24 hours.

Based on the details you provided, you might find these related issues helpful:

In the meantime, please check out these helpful resources:

We appreciate your patience and contribution to making Pieces better!

@pieces-support-bot pieces-support-bot bot added bug Something isn't working os:windows status:new The ticket has been created and is awaiting initial review. app:desktop application app:cli labels Jan 13, 2025
@mark-at-pieces
Copy link
Member

@bschwenk thank you for reaching out to support.

I have downloaded the file and tried to use it specifically with Gemini 1.5 flash and gpt4o, and it appears to be having context issues. ( I am going to take a deeper look into why this is the case) -- Currently, my system will return a response however it will say that I need to provide the file itself(so most likely is not getting included in the context) - @sam-at-pieces would be awesome if you could also lend a hand in testing this.

I can also reproduce the line numbers wrapping that you were seeing @mack-at-pieces would you mind looking into this issue?

This appears to be 2 issues, both of which we will take a look into and try to get resolved with the next patch!

@mark-at-pieces mark-at-pieces added status:triaged The ticket has been reviewed, prioritized, categorized, and assigned to the appropriate team member. and removed status:new The ticket has been created and is awaiting initial review. labels Jan 14, 2025
@sam-at-pieces
Copy link

Hi @bschwenk, this must be super frustrating! Thanks for letting us know about the bug and for providing the related code. @mark-at-pieces and I believe we have a fix for your context issue and will make sure it is in the next release for you.

Screen.Recording.2025-01-15.at.12.06.28.mov

Thanks again, I hope you are enjoying Pieces and please keep the bugs coming! :)

@mark-at-pieces
Copy link
Member

@bschwenk The context issue about asking about your specific .py file is resolved; and will be released in tomorrow's release of 11.0.4

@bschwenk
Copy link
Author

Thanks team 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:cli app:desktop application bug Something isn't working os:windows status:triaged The ticket has been reviewed, prioritized, categorized, and assigned to the appropriate team member.
Projects
None yet
Development

No branches or pull requests

4 participants