Closed kojix2 closed 1 year ago
Hi
This is a completely unimportant pull request. Make test_num_tokens_from_messages look the same as test_get_chat_completion_max_tokens.
I am working on a Crystal binding for this library; this is my second day studying Rust and this is my first Rust pull request.
Feel free to close this one as it does not contain any essential changes. Thanks.
https://github.com/zurawiki/tiktoken-rs/blob/9decafb2d86c8af014370fd0f900d533e08fa209/tiktoken-rs/src/api.rs#L440-L447
Thanks for the PR. Happy to make the test code more consistent
Hi
This is a completely unimportant pull request. Make test_num_tokens_from_messages look the same as test_get_chat_completion_max_tokens.
I am working on a Crystal binding for this library; this is my second day studying Rust and this is my first Rust pull request.
Feel free to close this one as it does not contain any essential changes. Thanks.
https://github.com/zurawiki/tiktoken-rs/blob/9decafb2d86c8af014370fd0f900d533e08fa209/tiktoken-rs/src/api.rs#L440-L447