mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2368] [Feature Request] Tracking Issue for Grammar-Constrained Sampling #957
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#957
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Interpause on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2368
To avoid duplicates, having an open tracking issue while the feature is in backlog helps prevent people from creating issues and makes closing dupes faster.
I gathered all issues that can be traced back to lack of grammar sampling during chat completion atm:
Also PRs: #636, #1328
Non grammar-constrained approaches PRs: #762, #763, #790, #525
Unsure:
#976an issue?)Let me know in comments if anything missing or if i misunderstood something.
@Interpause commented on GitHub (Oct 14, 2026):
when i get pissed enough at IQ3_S via strata breaking in vscode copilot because of invalid tool calls, or seeing it retry tool calls because of invalid arguments, ill consider fixing this.
Implementation likely is two PRs:
Should be a lot simpler than llama.cpp's implementation of grammar-constrained tool calls which has to support arbitrary templates from many different models.
@Interpause commented on GitHub (Oct 19, 2026):
I am currently looking at LLGuidance. Main downside is it brings in Rust and is slightly slower than XGrammar. But it has better JSON schema support and the ability to "fast-forward" by injecting valid tokens during tool call like autocomplete. I think initial PR will just focus on reasoning and tool calls; I will look at simplifying complex/laggy JSON schemas and more robust handling/fallback to arbitrary JSON object for other tools next time.
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.
@Interpause commented on GitHub (Oct 21, 2026):
can someone else reopen this for me please, im busy vibecoding in llguidance support. I think I am going to permanently fork off from upstream now.