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

Wrong file information #153

Open
pixkk opened this issue Jun 9, 2024 · 4 comments
Open

Wrong file information #153

pixkk opened this issue Jun 9, 2024 · 4 comments
Assignees

Comments

@pixkk
Copy link
Contributor

pixkk commented Jun 9, 2024

Hello. I have problem - when i select "Attach filename.py" and typed prompt (fix duplications in code), refact (on gpt3.5) answered me next:

image

But i dont have segment_mean function and code, which located in this function. If i select "selected *** lines", it works correctly.

@MarcMcIntosh
Copy link
Collaborator

Hello,

in the second screenshot, the lsp should have processed the @file ... command and removed it from the message after adding the file. It's posable that it may have failed to to do this.

I'll investigate further, can you confirm if the file is 10260 lines long?

@MarcMcIntosh
Copy link
Collaborator

We have recreated the issue by trying to attach a very large file.

@pixkk
Copy link
Contributor Author

pixkk commented Jun 13, 2024

Although my code has changed at the moment, my code certainly did not contain 10 thousand lines at that time. Otherwise I wouldn't be able to send the entire file as a text message. I'll try again tomorrow.

@pixkk
Copy link
Contributor Author

pixkk commented Jun 14, 2024

image
image

(Also i use another python in this project with 260 lines of code).

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

No branches or pull requests

3 participants