{"library":"tokentrim","type":"library","category":null,"description":"A utility library for trimming 'messages' arrays to fit within a specified token limit, commonly used with GPT models. Current version is 0.1.13, released as a stable package with no recent changes.","language":"python","status":"active","version":"0.1.13","tags":["openai","gpt","token","messages","trimming"],"last_verified":"Mon Apr 27","install":[{"cmd":"pip install tokentrim","imports":["from tokentrim import trim_messages"]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/tokentrim/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}