v1.13.1

Ironclad/rivetv1.13.1Nov 16, 2023by abrenneke

AI Summary

This is a patch release (v1.13.1) focused on fixing token counting issues in the Rivet project. The release addresses a bug where request token count was incorrectly returning 0 when the number of choices was unset, and improves token calculation for GPT functions to better approximate OpenAI's methodology.

Key Highlights

  • Fixed request token count incorrectly returning 0 when number of choices is unset
  • Improved GPT function token counting to approximate OpenAI's calculation approach

Full Release Notes

## Tweaks & Bug Fixes

- Fixed request token count being 0 when number of choices is unset (1)
- Account for GPT functions in token counting by approximating what OpenAI does to calculate their token counts.