Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Function
test_manual_save_restore_and_fork
(tmp_path, features)
lib/crewai/tests/telemetry/test_checkpoint_telemetry.py:38
Method
test_mark_completed
Test mark_completed changes status correctly.
lib/crewai/tests/utilities/test_planning_types.py:262
Method
test_mark_completed_does_nothing_for_missing
Test mark_completed handles missing step gracefully.
lib/crewai/tests/utilities/test_planning_types.py:276
Method
test_mark_completed_none_does_not_overwrite
(self)
lib/crewai/tests/agents/test_agent_executor.py:3317
Method
test_mark_completed_preserves_empty_string
(self)
lib/crewai/tests/agents/test_agent_executor.py:3295
Method
test_mark_completed_with_result
Test mark_completed with result.
lib/crewai/tests/utilities/test_planning_types.py:269
Method
test_mark_failed_preserves_empty_string
(self)
lib/crewai/tests/agents/test_agent_executor.py:3306
Method
test_mark_returns_new_dict
(self)
lib/crewai/tests/llms/test_prompt_cache.py:16
Method
test_mark_running
Test mark_running changes status correctly.
lib/crewai/tests/utilities/test_planning_types.py:252
Method
test_mark_running_does_nothing_for_missing
Test mark_running handles missing step gracefully.
lib/crewai/tests/utilities/test_planning_types.py:258
Function
test_markdown_option_in_task_prompt
Test that markdown flag correctly controls the inclusion of markdown formatting instructions.
lib/crewai/tests/test_markdown_task.py:16
Function
test_markdown_text_becomes_html_before_rendering
(store, weasyprint)
lib/crewai/tests/test_artifacts.py:1078
Function
test_markdown_with_code_blocks_is_left_alone
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:906
Function
test_markdown_with_complex_output_format
Test markdown with JSON output format to ensure compatibility.
lib/crewai/tests/test_markdown_task.py:70
Function
test_markdown_with_empty_description
Test markdown formatting with empty description.
lib/crewai/tests/test_markdown_task.py:46
Function
test_marker_tables_still_import_from_utilities_constants
(name: str)
lib/crewai/tests/telemetry/test_detection_reexports.py:52
Method
test_marks_public_skills_that_may_belong_to_another_organization
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:457
Function
test_masked_404_does_not_trigger_the_responses_api_fallback
`_is_responses_only_error` keys off OpenAI's wording, not any 404. A gateway 404 inside a 200 must not send the call to /v1/responses.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:406
Method
test_matches_a_flat_error_body
The SDK populates `body` flat or nested depending on how it parsed.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:148
Function
test_matches_below_ann_fetch_limit_are_found
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_search_categories.py:42
Function
test_matches_chromadb_openai_function
Same request and same vectors as chromadb's OpenAI embedding function.
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:167
Method
test_matches_the_tools_effort_400
(self)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:143
Method
test_matches_unrecognized_argument
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:217
Method
test_matches_unsupported_parameter
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:212
Function
test_matching_label_indices_keeps_original_positions
()
lib/cli/tests/test_tui_picker.py:198
Method
test_matching_names
(self, tmp_path: Path)
lib/crewai/tests/skills/test_validation.py:84
Function
test_matching_role_gets_the_overlay_model_others_keep_their_own
()
lib/crewai/tests/test_llm_overlay.py:65
Method
test_max_distance_filters_far_results
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:434
Method
test_max_files_limit
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:71
Function
test_max_iterations_answer_is_admitted_by_the_rpm_limiter
( replies: tuple[Any, ...], admitted: int )
lib/crewai/tests/agents/test_empty_llm_response_retry.py:244
Function
test_max_iterations_answer_is_retried_once
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:263
Function
test_max_iterations_empty_twice_raises_typed_error
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:274
Function
test_max_iterations_request_ends_on_a_user_turn
Claude 4.6+ rejects a request whose last message is an assistant turn (no prefill). Regression for the max_iter path: the forced final-answer ins
lib/crewai/tests/llms/anthropic/test_anthropic.py:2207
Method
test_max_length
(self)
lib/crewai/tests/skills/test_validation.py:37
Function
test_max_usage_count_is_respected
()
lib/crewai/tests/tools/test_base_tool.py:211
Method
test_max_usage_count_limit_enforced_in_native_tool_calling
Test that when max_usage_count is reached, tool returns error message.
lib/crewai/tests/agents/test_native_tool_calling.py:1053
Method
test_max_usage_count_tracked_in_native_tool_calling
Test that max_usage_count is properly tracked when using native tool calling.
lib/crewai/tests/agents/test_native_tool_calling.py:1023
Method
test_max_usage_reached_without_original_tool
(self)
lib/crewai/tests/agents/test_agent_executor.py:2511
Method
test_mcp_failures_do_print
(self)
lib/crewai/tests/tools/test_tool_failure.py:524
Function
test_mcp_request_builds_correct_url
Test that MCP request builds correct URL.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:341
Function
test_mcp_request_error
Test MCP request with error response.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:157
Function
test_mcp_request_http_error
Test MCP request with HTTP error.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:183
Function
test_mcp_request_includes_correct_headers
Test that MCP request includes correct headers.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:368
Function
test_mcp_request_success
Test successful MCP request.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:134
Function
test_mcp_tool_execution_in_async_context
Test MCPNativeTool execution in async context (e.g., from a Flow).
lib/crewai/tests/mcp/test_mcp_config.py:163
Function
test_mcp_tool_execution_in_sync_context
Test MCPNativeTool execution in synchronous context (normal crew execution).
lib/crewai/tests/mcp/test_mcp_config.py:137
Method
test_mdx_file_not_found_raises_error
Test that non-existent MDX file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:326
Method
test_mdx_multiple_imports_exports
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:62
Function
test_mdx_search_tool
()
lib/crewai-tools/tests/tools/test_search_tools.py:155
Method
test_mdx_string
Test data_type='mdx' with existing MDX file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:165
Method
test_mdx_url_fetch_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_mdx_loader.py:165
Method
test_medium_effort_marks_failed_step_as_failed
(self)
lib/crewai/tests/agents/test_agent_executor.py:3254
Method
test_members_whose_names_differ_only_in_case_are_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:754
Function
test_membership_filters_probe_array_elements
(operator)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1453
Function
test_memoization_is_per_instance
()
lib/crewai/tests/test_project.py:186
Function
test_memoized_agent_is_not_returned_to_a_later_instance
()
lib/crewai/tests/test_project.py:164
Function
test_memoized_async_agent_is_not_returned_to_a_later_instance
()
lib/crewai/tests/test_project.py:176
Function
test_memory_analysis_llm_is_isolated_from_streaming_agent_llm
Memory analysis should not share a mutable streaming LLM with the agent UI.
lib/crewai/tests/memory/test_unified_memory.py:22
Function
test_memory_analysis_surfaces_a_deny_instead_of_a_safe_default
( denied_helper, denying_llm, denied_calls )
lib/crewai/tests/hooks/test_hook_abort_propagation.py:141
Method
test_memory_azure_config
Test Azure config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:282
Method
test_memory_cohere_config
Test Cohere config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:305
Function
test_memory_config
()
lib/crewai/tests/memory/test_unified_memory.py:136
Function
test_memory_enabled_creates_unified_memory
With unified memory, memory=True creates _memory and kickoff runs.
lib/crewai/tests/test_crew.py:2617
Function
test_memory_events_are_emitted
()
lib/crewai/tests/test_crew.py:2498
Function
test_memory_extract_memories_empty_content_returns_empty_list
Memory.extract_memories() with empty/whitespace content returns [] without calling LLM.
lib/crewai/tests/memory/test_unified_memory.py:589
Function
test_memory_extract_memories_returns_list_from_llm
Memory.extract_memories() delegates to LLM and returns list of strings.
lib/crewai/tests/memory/test_unified_memory.py:566
Function
test_memory_forget
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:342
Method
test_memory_google_generativeai_config
Test Google Generative AI config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:296
Function
test_memory_kind_inference_preserves_input
Inferring a legacy config's discriminator must not mutate that config.
lib/crewai/tests/memory/test_unified_memory.py:396
Function
test_memory_list_scopes_info_tree
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:408
Function
test_memory_match
()
lib/crewai/tests/memory/test_unified_memory.py:87
Function
test_memory_match_embedding_excluded_from_serialization
MemoryMatch serialization should not leak embedding vectors.
lib/crewai/tests/memory/test_unified_memory.py:117
Method
test_memory_openai_config
Test OpenAI config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:264
Method
test_memory_openai_config_with_options
Test OpenAI config with all options from memory.mdx.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:271
Function
test_memory_recall_and_save_get_text_not_a_repr
Both memory paths flattened the same way and stored the repr.
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:115
Function
test_memory_record_defaults
()
lib/crewai/tests/memory/test_unified_memory.py:76
Function
test_memory_record_embedding_excluded_from_serialization
Embedding vectors should not appear in serialized output to save tokens.
lib/crewai/tests/memory/test_unified_memory.py:95
Function
test_memory_remember_and_recall_with_default_embedder
( tmp_path: Path, openai_mock )
lib/crewai/tests/memory/test_default_embedder.py:42
Function
test_memory_remember_called_after_task
With memory=True, extract_memories is called with raw content and remember is called per extracted item.
lib/crewai/tests/test_crew.py:2644
Function
test_memory_remember_recall_shallow
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:319
Function
test_memory_remember_receives_task_content
With memory=True, extract_memories receives raw content with task, agent, expected output, and result.
lib/crewai/tests/test_crew.py:5467
Function
test_memory_reset_all_rebuilds_reopened_store_with_new_dimension
( lancedb_path: Path, )
lib/crewai/tests/memory/test_dimension_mismatch.py:101
Function
test_memory_root_scope_confines_crafted_explicit_scope
( storage: LanceDBStorage, )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:136
Method
test_memory_root_scope_per_call_override
Per-call root_scope overrides instance-level root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:209
Method
test_memory_root_scope_with_llm_inferred_scope
When root_scope is set and scope is inferred by LLM, they combine.
lib/crewai/tests/memory/test_memory_root_scope.py:180
Function
test_memory_save_completion_updates_timed_out_row
()
lib/cli/tests/test_crew_run_tui.py:1167
Function
test_memory_save_completion_with_unmatched_id_does_not_update_running_row
()
lib/cli/tests/test_crew_run_tui.py:1202
Function
test_memory_save_completion_without_id_does_not_update_stale_row
()
lib/cli/tests/test_crew_run_tui.py:1294
Function
test_memory_save_events_are_shown_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1061
Function
test_memory_save_failure_is_shown_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1139
Function
test_memory_save_failure_with_unmatched_id_does_not_update_running_row
()
lib/cli/tests/test_crew_run_tui.py:1247
Function
test_memory_save_failure_without_id_does_not_update_stale_row
()
lib/cli/tests/test_crew_run_tui.py:1344
Function
test_memory_save_payloads_are_truncated_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1393
Function
test_memory_scope_config_can_be_reused
Constructing a scope must not remove the memory from caller-owned config.
lib/crewai/tests/memory/test_unified_memory.py:364
Function
test_memory_scope_extract_memories_delegates
MemoryScope.extract_memories delegates to underlying Memory.
lib/crewai/tests/memory/test_unified_memory.py:660
Function
test_memory_scope_remember_recall
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:424
Method
test_memory_scope_remembers_within_root_scope
MemoryScope with underlying Memory that has root_scope works correctly.
lib/crewai/tests/memory/test_memory_root_scope.py:809
Function
test_memory_scope_slice
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:353
Function
test_memory_slice_config_can_be_reused_without_normalizing_it_in_place
Constructing a slice must preserve caller-owned dependencies and paths.
lib/crewai/tests/memory/test_unified_memory.py:379
Function
test_memory_slice_extract_memories_delegates
MemorySlice.extract_memories delegates to underlying Memory.
lib/crewai/tests/memory/test_unified_memory.py:672
← previous
next →
15,801–15,900 of 19,735, ranked by callers