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

Large file updates can hit the model output limit #148

Open
rmulligan opened this issue Jun 13, 2024 · 3 comments
Open

Large file updates can hit the model output limit #148

rmulligan opened this issue Jun 13, 2024 · 3 comments

Comments

@rmulligan
Copy link

rmulligan commented Jun 13, 2024

I'm receiving the following during the "build" step.

🚨 Server error
β†’ ListenStream - stream chunk missing function call. Reason
β†’ Stop, File

I am using openAI and the cloud implementation.

I can't find out where it's getting hung up as it's already generated the code changes.

Thanks in advance! This is great work so far.

BTW. I'm having it work on augmenting emacs-lisp.

@danenania
Copy link
Contributor

Hey @rmulligan I replied to you in discord as well--this is most likely caused by a large file/complex change which hits the model's token output limit.

I have some ideas for how to handle this, but in the meantime a workaround could be to refactor large files into smaller files if possible.

@danenania
Copy link
Contributor

danenania commented Jun 13, 2024

For logging, if you're building from source, you could add your own logging statements--unfortunately there isn't anything fancier than that in place yet. All the requests happen here https://github.com/plandex-ai/plandex/tree/main/app/server/model/plan -- the files names *_exec.go are the ones that execute requests and file names like *_stream.go are where the response streams are handled.

It would be good to add logging levels or another kind of request tracking.

@rmulligan
Copy link
Author

Sounds good. Thanks! I ended up doing just that. Plandex was able to refactor into smaller files and then didn't have any problems after that. (other than cost)

@danenania danenania changed the title Unclear how to enable detailed logging Large updates can hit the model output limit Jun 14, 2024
@danenania danenania changed the title Large updates can hit the model output limit Large file updates can hit the model output limit Jun 14, 2024
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

2 participants