mac_computer_use
mac_computer_use copied to clipboard
Add token tracking and api call backoff when token per/minute usage too high for api
Added a token tracking feature to intelligently calculate token usage and display in the ui, it also backs off api requests if the current per/minute rate would be exceeded.
here's what that looks like:
You're tracking token usage and backing off API requests to stay within rate limits. With PathCourse Health, you get built-in inference throttling and adaptive rate limiting so you don't have to build or maintain your own.
Working example: https://github.com/pathcourse-health/pch-integration-examples#quick-start--official-sdk