Skip to content

Commit

Permalink
tests: bumped short token allowed token length
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Sep 16, 2024
1 parent 7cf2119 commit 0208e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_get_prompt():
assert 1200 < len_tokens(prompt.content) < 3000

prompt = get_prompt("short")
assert 700 < len_tokens(prompt.content) < 1200
assert 700 < len_tokens(prompt.content) < 1500

prompt = get_prompt("Hello world!")
assert prompt.content == "Hello world!"

0 comments on commit 0208e76

Please sign in to comment.