LABEQ / generation_limits.py
leeennn009's picture
Deploy LABEQ source eb61c869b169 on ZeroGPU
f302ce8 verified
Raw History Blame Contribute Delete
259 Bytes
"""Signal incomplete provider output without presenting it as a finished reply."""
class GenerationBudgetError(RuntimeError):
def __init__(self, text):
super().__init__("Model output exhausted its token budget")
self.partial_text = text