Skip to content

Push on main

Push on main #167

GitHub Actions / Test Results succeeded Feb 14, 2024 in 0s

All 94 tests pass in 9s

94 tests  ±0   94 ✅ ±0   9s ⏱️ ±0s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 0a479eb. ± Comparison against earlier commit 1b29c1f.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

94 tests found

There are 94 tests, see "Raw output" for the full list of tests.
Raw output
tests.memory.test_file_memory ‑ test_default_embedding_model_set_correctly
tests.memory.test_file_memory ‑ test_default_embedding_model_set_none
tests.memory.test_file_memory ‑ test_explicit_embedding_model_set
tests.memory.test_file_memory ‑ test_file_memory_get_memory_by_conversation_id
tests.memory.test_file_memory ‑ test_file_memory_get_memory_by_exact_match_matches
tests.memory.test_file_memory ‑ test_file_memory_get_memory_by_normalizer_id
tests.memory.test_file_memory ‑ test_file_memory_labels_included
tests.memory.test_file_memory ‑ test_json_memory_handler_addends_suffix_to_filepath
tests.memory.test_file_memory ‑ test_json_memory_handler_default_filepath
tests.memory.test_file_memory ‑ test_json_memory_handler_loads_conversation
tests.memory.test_file_memory ‑ test_json_memory_handler_only_loads_from_correct_extension
tests.memory.test_file_memory ‑ test_json_memory_handler_save_conversation
tests.memory.test_file_memory ‑ test_json_memory_handler_saves_and_stores_the_same_data
tests.memory.test_file_memory ‑ test_json_memory_handler_set_filepath
tests.memory.test_file_memory ‑ test_test_file_memory_get_memory_by_exact_match_no_match
tests.memory.test_file_memory_embeddings ‑ test_embedding_similare_chat_messages
tests.memory.test_file_memory_embeddings ‑ test_embedding_similare_chat_messages_none
tests.memory.test_file_memory_embeddings ‑ test_embedding_similary
tests.memory.test_file_memory_embeddings ‑ test_embedding_similary_no_matches
tests.memory.test_memory_embedding ‑ test_default_memory_embedding_factory_with_azure_environment_variables
tests.memory.test_memory_embedding ‑ test_default_memory_embedding_factory_with_embedding_model
tests.memory.test_memory_embedding ‑ test_default_memory_embedding_factory_without_embedding_model_and_environment_variables
tests.memory.test_memory_embedding ‑ test_memory_encoder
tests.memory.test_memory_embedding ‑ test_memory_encoding_chat_message
tests.memory.test_memory_encoder ‑ test_memory_encoder
tests.memory.test_memory_encoder ‑ test_memory_encoding_chat_message
tests.memory.test_memory_interface ‑ test_add_chate_message_to_memory_added
tests.memory.test_memory_interface ‑ test_add_chate_messages_to_memory_added
tests.memory.test_memory_interface ‑ test_conversation_memory_empty_by_default
tests.memory.test_memory_interface ‑ test_count_of_memories_matches_number_of_conversations_added_1
tests.memory.test_memory_interface ‑ test_memory
tests.test_aml_online_endpoint_chat ‑ test_complete_chat
tests.test_aml_online_endpoint_chat ‑ test_complete_chat_bad_json_response
tests.test_aml_online_endpoint_chat ‑ test_get_headers_with_valid_api_key
tests.test_aml_online_endpoint_chat ‑ test_initialization_with_no_api_raises
tests.test_aml_online_endpoint_chat ‑ test_initialization_with_no_key_raises
tests.test_aml_online_endpoint_chat ‑ test_initialization_with_required_parameters
tests.test_azure_auth ‑ test_get_token_on_init
tests.test_azure_auth ‑ test_refresh_expiration
tests.test_azure_auth ‑ test_refresh_no_expiration
tests.test_azure_openai_chat ‑ test_complete_chat_async_return
tests.test_azure_openai_chat ‑ test_complete_chat_return
tests.test_azure_openai_chat ‑ test_invalid_endpoint_raises
tests.test_azure_openai_chat ‑ test_invalid_key_raises
tests.test_common_environment ‑ test_environment_variables_prefers_passed
tests.test_common_environment ‑ test_environment_variables_throws_if_not_set
tests.test_common_environment ‑ test_environment_variables_uses_default
tests.test_common_net_utility ‑ test_get_httpx_client_type[False-Client]
tests.test_common_net_utility ‑ test_get_httpx_client_type[True-AsyncClient]
tests.test_common_net_utility ‑ test_make_request_and_raise_if_error_failure
tests.test_common_net_utility ‑ test_make_request_and_raise_if_error_retries
tests.test_common_net_utility ‑ test_make_request_and_raise_if_error_success
tests.test_embedding_response ‑ test_can_save_embeddings
tests.test_embedding_response ‑ test_embedding_creation_is_idempotent
tests.test_embedding_response ‑ test_save_load_loop_is_idempotent
tests.test_huggingface_chat ‑ test_complete_chat_failure
tests.test_huggingface_chat ‑ test_complete_chat_success
tests.test_huggingface_chat ‑ test_extract_last_assistant_response_multiple_markers
tests.test_huggingface_chat ‑ test_extract_last_assistant_response_no_marker
tests.test_huggingface_chat ‑ test_extract_last_assistant_response_single_marker
tests.test_huggingface_chat ‑ test_extract_last_assistant_response_with_closing_token
tests.test_huggingface_chat ‑ test_extract_last_assistant_response_without_closing_token
tests.test_huggingface_chat ‑ test_initialization_with_parameters
tests.test_huggingface_chat ‑ test_is_model_id_valid_false
tests.test_huggingface_chat ‑ test_is_model_id_valid_true
tests.test_markdown_injection ‑ test_md_injection_detected[![Drag Racing](Dragster.jpg)]
tests.test_markdown_injection ‑ test_md_injection_detected[![][image_ref_a32ff4ads]]
tests.test_markdown_injection ‑ test_md_injection_detected[![sdf](www.google.com)]
tests.test_markdown_injection ‑ test_md_injection_not_detected
tests.test_prompt_orchestrator ‑ test_send_multiple_prompts_no_transformer
tests.test_prompt_orchestrator ‑ test_send_prompt_no_transformer
tests.test_prompt_orchestrator ‑ test_send_prompts_b64_transform
tests.test_prompt_orchestrator ‑ test_sendprompts_orchestrator_sets_target_memory
tests.test_prompt_response ‑ test_save_and_load_of_prompt_response
tests.test_prompt_response ‑ test_saving_of_prompt_response
tests.test_prompt_target ‑ test_complete_chat_user_no_system
tests.test_prompt_target ‑ test_complete_chat_user_with_system
tests.test_prompt_target ‑ test_complete_chat_user_with_system_calls_chat_complete
tests.test_prompt_target ‑ test_set_system_prompt
tests.test_prompt_template_generator ‑ test_generate_default_template_first_call_requires_two_messages
tests.test_prompt_template_generator ‑ test_generate_default_template_first_call_success
tests.test_prompt_template_generator ‑ test_generate_template_requires_messages
tests.test_prompt_template_generator ‑ test_generate_template_subsequent_call
tests.test_prompt_transformer ‑ test_base64_prompt_transformer
tests.test_prompt_transformer ‑ test_prompt_transformer
tests.test_prompt_transformer ‑ test_unicode_sub_ascii_prompt_transformer
tests.test_prompt_transformer ‑ test_unicode_sub_default_prompt_transformer
tests.test_red_teaming_bot ‑ test_attack_strategy_without_token_raises
tests.test_red_teaming_bot ‑ test_complete_chat_user
tests.test_red_teaming_bot ‑ test_complete_chat_user_calls_complete_chat
tests.test_red_teaming_bot ‑ test_default_attack_strategy_set_with_end_token
tests.test_red_teaming_bot ‑ test_is_conversation_complete_emptyhistory_false
tests.test_red_teaming_bot ‑ test_is_conversation_complete_false
tests.test_red_teaming_bot ‑ test_is_conversation_complete_true