Skip to content

pagerguild/time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guilde Time

This is a fork of the golang.org/x/time package, with minor modifications to help with rate limiting an LLM client: it allows clients to "Update" token counts. This means that a request can wait for an estimated number of tokens, and then after receiving actual usage from the LLM provider, notify the *rate.Limiter of the difference.

Go Reference

This repository provides supplementary Go time packages.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/time.

The main issue tracker for the time repository is located at https://go.dev/issues. Prefix your issue with "x/time:" in the subject line, so it is easy to find.

About

Fork of golang.org/x/time. Rate limiter modified to allow post-request token updates

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages