Skip to content

Commit

Permalink
tests: loosened short prompt token limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Aug 26, 2024
1 parent 9b9d942 commit 789d788
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) < 900
assert 700 < len_tokens(prompt.content) < 1200

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

0 comments on commit 789d788

Please sign in to comment.