Files
oak-gpui/crates
Michael Sloan 87b0f62041 Implement simpler logic for edit predictions prompt byte limits (#23983)
Realized that the logic in #23814 was more than needed, and harder to
maintain. Something like that could make sense if using the tokenizer
and wanting to precisely hit a token limit. However in the case of edit
predictions it's more of a latency+expense vs capability tradeoff, and
so such precision is unnecessary.

Happily this change didn't require much extra work, just copy-modifying
parts of that change was sufficient.

Release Notes:

- N/A
2025-01-30 15:27:42 -07:00
..
2025-01-29 23:03:20 +00:00
2025-01-27 13:40:59 -05:00
2025-01-27 21:56:29 +00:00
2025-01-30 16:11:42 -05:00