-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🪙 Calculate Max Tokens #867
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Lets fix up mypy and tests. Good to merge after |
@@ -4,7 +4,7 @@ | |||
ENCODING_NAME = "cl100k_base" # gpt-4, gpt-3.5-turbo, text-embedding-ada-002 | |||
|
|||
|
|||
async def init_tokenizer(app: FastAPI) -> None: # pragma: no cover | |||
def init_tokenizer(app: FastAPI) -> None: # pragma: no cover |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why # pragma: no cover
?
@@ -4,6 +4,7 @@ | |||
from starlette import status | |||
|
|||
|
|||
@pytest.mark.skip(reason="Mysql needs to be mocked") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this more of an integration test?
No description provided.