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

Stream buffer tokens too high for file 'go.mod' #34

Closed
Dexus opened this issue Apr 5, 2024 · 4 comments
Closed

Stream buffer tokens too high for file 'go.mod' #34

Dexus opened this issue Apr 5, 2024 · 4 comments

Comments

@Dexus
Copy link

Dexus commented Apr 5, 2024

i got the error

....
Next, "All tasks have been completed."
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 🏗  Built plan
📄 cmd/server/main.go ✅ | 📄 go.mod 7144 🪙 | 📄 internal/config/config.go ✅ | 📄 internal/jwt/jwt.go ✅ | 📄 internal/keycloak/client.go ✅
📄 internal/middleware/auth.go ✅ | 📄 internal/models/users.go ✅ | 📄 internal/scheduler/userinfo_updater.go ✅ | 📄 internal/server/server.go ✅

🚨 Server error
  → Stream buffer tokens too high for file 'go.mod'

while it was build my pdx tell promt

@danenania
Copy link
Contributor

danenania commented Apr 5, 2024

There are rare cases where the model starts to return endless garbage output, so there's a cutoff point where Plandex gives up and errors if the token count gets a lot higher than [original file tokens + suggested change tokens]. It's possible though that this cutoff may need to be increased--I'll investigate.

Retrying the build with plandex build might help.

@danenania
Copy link
Contributor

@Dexus have you continued to see this error?

@Dexus
Copy link
Author

Dexus commented Apr 11, 2024

@danenania not yet used it again, will check again next week.

@danenania
Copy link
Contributor

@Dexus closing this for now, but let me know if you're still seeing the issue.

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