I can write a blog post about this, plus in the next release, DuckDB will be implemented along with a slightly more advanced max tokens algorithm.