Skip to content

Conversation

@avsakharov
Copy link

@avsakharov avsakharov commented Apr 7, 2023

This PR contains the Russian version of the faq bot.

@avsakharov avsakharov self-assigned this Apr 7, 2023
@avsakharov
Copy link
Author

avsakharov commented Apr 14, 2023

@RLKRo During the execution of pytest test.py an error appears:

candidate_response = text='I found similar questions in my database:' ui='{'buttons': [{'text': 'Why should I use Arch?', 'payload': 'Why should I use Arch?'}, {'text': 'Why should I not use Arch?', 'payload': 'Why should I not use Arch? '}, {'text': 'What architectures does Arch support?', 'payload': 'What architectures does Arch support?'}, {'text': 'What is Arch Linux?', 'payload': 'What is Arch Linux?'}], 'is_inline': True, 'row_width': 3}'
E reference_response = text='I found similar questions in my database:' ui='{'buttons': [{'text': 'Why should I use Arch?', 'payload': 'Why should I use Arch?'}, {'text': 'Why should I not use Arch?', 'payload': 'Why should I not use Arch?'}], 'is_inline': True, 'row_width': 3}'
E candidate_response != reference_response

I see that candidate_response != reference_response, but I don't know how to add items to reference_response. Can you help me fix it? The bot runs, but crashes at the button show stage.

Update: I think, I fix that mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants