Max Tokens Ceiling Guard

How to clamp max_tokens parameter to task-specific budgets (1 to 300 tokens) rather than defaulting to 4,096, preventing runaway generation loops and capping financial exposure.

alivirgo Updated 3 repo stars

File contents

alivirgo/Major-AI-Skills commit ca4900bad1

Frequently asked questions

npx get-skill add alivirgo/max-tokens-ceiling-guard