Skip to content

Commit 889a1eb

Browse files
change suggested questions length
1 parent 6f39b32 commit 889a1eb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

llm-service/app/services/chat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ def generate_suggested_questions(
236236
),
237237
[],
238238
)
239-
print(response.response)
240239
suggested_questions = process_response(response.response)
241240
return suggested_questions
242241

llm-service/app/tests/services/test_chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def test_process_response(self, response: str) -> None:
9292

9393
assert not suggested_question.endswith("*")
9494

95-
assert len(suggested_question.split()) <= 15
95+
assert len(suggested_question.split()) <= 60
9696

9797
assert suggested_question != "Empty Response"
9898
assert suggested_question != ""

0 commit comments

Comments
 (0)