Get Segment Budget • AI Agent SDK

get_segment_budget: Get budget for a segment.

get_segment_budget

Method

</div>

This is a method of the BudgetAllocation class in the models module.

Get budget for a segment.

Signature

python
def get_segment_budget(segment: ContextSegment) -> int

Parameters

ParamField ContextSegment

No description available.

Returns

ResponseField int

The result of the operation.

Source

View on GitHub

praisonaiagents/context/models.py at line 136