Skip to main content
मॉडल के जारी रखने के निर्णय से स्वतंत्र product budget लागू करने के लिए stop helper मिलाएँ।
SDK में tool-call और finish-reason conditions भी हैं। रन पूरा होने पर $result->run->stopReason और सामान्यीकृत usage देखकर ऐप budget stop और मॉडल के सामान्य finish में अंतर कर सकता है। रुकना एक सीमित परिणाम है, अपने-आप exception नहीं। तय करें कि product किन stop reasons को सफल, retryable या user-visible मानेगा।
अंतिम संशोधन 2 अक्टूबर 2026