fix: Enable sorting of chat inputs to improve UI message speed (#4480)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-11-11 11:22:04 -03:00 • committed by GitHub
commit 76c91de563
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View file

@ -257,7 +257,7 @@ async def test_get_vertices(client, added_flow_webhook_test, logged_in_headers):
# The important part is before the - (ConversationBufferMemory, PromptTemplate, ChatOpenAI, LLMChain)
ids = [_id.split("-")[0] for _id in response.json()["ids"]]
assert set(ids) == {"Webhook", "ChatInput"}
assert set(ids) == {"ChatInput"}
async def test_build_vertex_invalid_flow_id(client, logged_in_headers):