Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mruwnik committed Jun 5, 2024
1 parent dbdd215 commit 990c5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tests/stampy_chat/test_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_PrefixedPrompt_format_messages():
prompt = PrefixedPrompt(messages_field='history', prompt='bla bla bla', input_variables=[])
history = [HumanMessage(content=f'human message {i}') for i in range(5)]
assert prompt.format_messages(history=history) == [
AIMessage(content='bla bla bla'),
HumanMessage(content='bla bla bla'),
HumanMessage(content='human message 0'),
HumanMessage(content='human message 1'),
HumanMessage(content='human message 2'),
Expand Down

0 comments on commit 990c5dc

Please sign in to comment.