Allow abortion of current search

This commit is contained in:
Daniel O'Connell
2023-10-03 23:42:53 +02:00
parent 3f39eac0cb
commit ac25ce7746
5 changed files with 91 additions and 55 deletions
+2 -2
View File
@@ -255,14 +255,14 @@ def test_check_openai_moderation_not_flagged():
@pytest.mark.parametrize('prompt, remaining', (
([{'role': 'system', 'content': 'bla'}], 4043),
([{'role': 'system', 'content': 'bla'}], 4045),
(
[
{'role': 'system', 'content': 'bla'},
{'role': 'user', 'content': 'message 1'},
{'role': 'assistant', 'content': 'response 1'},
],
4035
4037
),
(
[