Skip to content

Commit

Permalink
tests: increase max tokens for full system prompt significantly
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Aug 20, 2024
1 parent 3423474 commit c785cfe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_prompts.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from gptme.prompts import get_prompt
from gptme.message import len_tokens
from gptme.prompts import get_prompt


def test_get_prompt():
prompt = get_prompt("full")
assert 1200 < len_tokens(prompt.content) < 2000
# TODO: lower this significantly by selectively removing examples from the full prompt
assert 1200 < len_tokens(prompt.content) < 3000

prompt = get_prompt("short")
assert 700 < len_tokens(prompt.content) < 900
Expand Down

0 comments on commit c785cfe

Please sign in to comment.