added calculate_cost_by_tokens - the case when token count is already available

This commit is contained in:
Nikolay Petrov
2024-02-01 17:42:16 +07:00
parent 7959de29f8
commit 7d0595a692
3 changed files with 49 additions and 15 deletions

View File

@@ -301,13 +301,13 @@ pip install -e .
0. Install `pytest` if you don't have it already
```python
```shell
pip install pytest
```
1. Run the `tests/` folder while in the parent directory
```python
```shell
pytest tests
```