Class: Copilot::SessionLimitsConfig
- Inherits:
-
Struct
- Object
- Struct
- Copilot::SessionLimitsConfig
- Defined in:
- lib/copilot/types.rb
Overview
Per-session AI-credit budget; set max_ai_credits to cap spend.
Instance Attribute Summary collapse
-
#max_ai_credits ⇒ Object
Returns the value of attribute max_ai_credits.
Instance Method Summary collapse
Instance Attribute Details
#max_ai_credits ⇒ Object
Returns the value of attribute max_ai_credits
606 607 608 |
# File 'lib/copilot/types.rb', line 606 def max_ai_credits @max_ai_credits end |
Instance Method Details
#to_wire ⇒ Object
607 608 609 |
# File 'lib/copilot/types.rb', line 607 def to_wire { maxAiCredits: max_ai_credits }.compact end |