langflow/tests
Gabriel Luiz Freitas Almeida 533edf48f9 🔧 chore(conftest.py): add fixture for one_grouped_chat_json_flow to provide a test data file for one grouped chat
🔧 chore(conftest.py): add one_grouped_chat_json_flow fixture to read and return the contents of the one_group_chat.json file

📝 chore(one_group_chat.json): add one_group_chat.json test data file

This commit adds the one_group_chat.json file to the tests/data directory. The file contains a simple chat with a custom prompt template and conversational memory buffer. It is used for testing purposes.

🔧 chore: update node configuration for ConversationBufferMemory, ChatOpenAI, and LLMChain
📝 docs: update documentation links for ConversationBufferMemory and LLMChain

🔧 fix: update prompt template in LLMChain to include conversation history and text input variables
🔧 fix: update ConversationBufferMemory node to include description and documentation links

🎨 style: format and organize code for better readability and maintainability
2023-10-05 11:39:00 -03:00
..
data 🔧 chore(conftest.py): add fixture for one_grouped_chat_json_flow to provide a test data file for one grouped chat 2023-10-05 11:39:00 -03:00
conftest.py 🔧 chore(conftest.py): add fixture for one_grouped_chat_json_flow to provide a test data file for one grouped chat 2023-10-05 11:39:00 -03:00
test_agents_template.py 🔧 fix(test_agents_template.py): update test functions to include logged_in_headers parameter to test authenticated requests 2023-08-25 16:30:01 -03:00
test_api_key.py 🔥 refactor(user/utils.py): remove unused code and imports from user/utils.py module 2023-08-25 12:05:54 -03:00
test_cache.py fix the imports of orjson_dumps 2023-08-24 14:57:18 +00:00
test_cache_manager.py 🔧 fix(custom_component.py): fix import paths for session_getter and Flow models in custom_component.py file 2023-08-05 22:18:20 -03:00
test_chains_template.py 🔧 fix(test_agents_template.py): update test functions to include logged_in_headers parameter to test authenticated requests 2023-08-25 16:30:01 -03:00
test_cli.py 🐛 fix(__main__.py): rename serve command to run command for better semantics and clarity 2023-08-28 15:47:57 -03:00
test_creators.py 🔥 refactor(conftest.py): remove unused fixtures and custom chain classes 2023-07-18 01:59:19 +01:00
test_custom_component.py 🔥 refactor(models): remove Token model and references to it to simplify the codebase and remove unused code 2023-08-25 15:26:20 -03:00
test_custom_types.py 🚀 feat(customs.py): add PythonFunction to CUSTOM_NODES 2023-06-06 11:40:39 -03:00
test_database.py 🔧 fix(test_database.py): fix test_create_flow function signature to include active_user and logged_in_headers parameters 2023-08-25 12:49:57 -03:00
test_embeddings_template.py 🔨 refactor(embeddings.py): move openai fields formatting to a separate method 2023-05-28 16:18:33 -03:00
test_endpoints.py 🔧 fix(test_endpoints.py): fix typo in function name 'created_api_key' to 'create_api_key' for consistency 2023-08-27 19:16:39 -03:00
test_frontend_nodes.py 🔥 refactor(base.py): remove unused import statement 2023-05-30 23:48:49 -03:00
test_graph.py 🐛 fix(test_graph.py): update expected values in test_find_last_node and test_ungroup_node to reflect changes in the code 2023-10-04 20:46:32 -03:00
test_llms_template.py 🐛 fix(test_cli.py): update CLI command in test_components_path to use 'serve' subcommand for better clarity and consistency 2023-08-28 11:16:37 -03:00
test_loading.py 🐛 fix(flows.py): change json.loads to orjson.loads for improved performance and compatibility with orjson library 2023-08-22 11:04:41 -03:00
test_login.py feat(test_login.py): add tests for login functionality 2023-08-25 10:17:36 -03:00
test_process.py 🚀 feat(test_process.py): add tests for loading langchain object with and without cached session 2023-08-16 21:30:07 -03:00
test_prompts_template.py 🐛 fix(test_prompts_template.py): set "dynamic" property to True for input_variables, output_parser, partial_variables, template, template_format, and validate_template to enable dynamic behavior in prompt templates 2023-09-21 14:45:27 -03:00
test_template.py test(test_template.py): add assertion to check if result is not None 2023-06-23 10:53:53 -03:00
test_user.py 🐛 fix(__main__.py): pass the session as a keyword argument 'db' to the create_super_user function for clarity and consistency 2023-08-31 11:16:39 -03:00
test_validate_code.py formatting 2023-03-31 14:06:40 -03:00
test_vectorstore_template.py 🔧 fix(test_agents_template.py): update test functions to include logged_in_headers parameter to test authenticated requests 2023-08-25 16:30:01 -03:00
test_websocket.py 🐛 fix(chat.py): add missing import statement for Query from fastapi 2023-08-25 17:01:32 -03:00