Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
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:271
Method
test_memory_cohere_config
Test Cohere config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:292
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:284
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:253
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:260
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:5443
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
Function
test_memory_slice_recall
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:437
Function
test_memory_slice_remember_is_noop_when_read_only
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:448
Function
test_memory_string_storage_qdrant_edge
Test that storage='qdrant-edge' string instantiation works.
lib/crewai/tests/memory/test_qdrant_edge_storage.py:319
Function
test_memory_with_qdrant_edge
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:294
Method
test_memory_with_root_scope_prepends_to_explicit_scope
When root_scope is set and explicit scope is provided, they combine.
lib/crewai/tests/memory/test_memory_root_scope.py:135
Function
test_memory_without_an_llm_analyses_with_gpt_6_luna
The default analysis model runs on OpenAI's chat completions, which the memory flows' structured calls use.
lib/crewai/tests/memory/test_unified_memory.py:57
Method
test_memory_without_root_scope_uses_explicit_scope_directly
When root_scope is None, explicit scope is used as-is (backward compat).
lib/crewai/tests/memory/test_memory_root_scope.py:158
Method
test_memory_without_root_scope_works_normally
Memory without root_scope behaves exactly as before.
lib/crewai/tests/memory/test_memory_root_scope.py:671
Method
test_merge_file_and_input_data
(self)
lib/cli/tests/test_config.py:49
Method
test_merge_file_and_input_data
(self)
lib/crewai/tests/cli/test_config.py:46
Method
test_merges_session_and_user_message
(self)
lib/crewai/tests/test_flow_conversation.py:78
Function
test_message
Create a simple test message.
lib/crewai/tests/a2a/test_a2a_integration.py:28
Method
test_message_does_not_offer_keyless_auth
azure-identity cannot authenticate the OpenAI delegate, so do not suggest it.
lib/crewai/tests/llms/test_missing_api_key.py:304
Function
test_message_names_the_host_but_never_url_credentials
The message reaches logs and the model context, so it carries only the host. Some gateways accept credentials in the URL; the guard reports `
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:517
Method
test_messages_are_mutable_reference
Test that modifying context.messages modifies executor.messages.
lib/crewai/tests/hooks/test_llm_hooks.py:77
Method
test_messages_without_tool_calls_pass_through
(self, message)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:160
Function
test_metadata
Retain notebook versions, language, kernel, and counts for each cell type.
lib/crewai-tools/tests/rag/test_notebook_loader.py:75
Method
test_metadata_accepts_other_keys
(self)
lib/crewai/tests/skills/test_models_version.py:26
Function
test_metadata_filter
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:132
Function
test_metadata_filter_handling
Test metadata filter parameter handling.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:163
Function
test_metadata_filter_with_categories_still_applies
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_search_categories.py:74
Method
test_metadata_included_in_result
Test that metadata is passed through to HumanFeedbackResult.
lib/crewai/tests/test_human_feedback_integration.py:648
Method
test_metadata_level
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:257
Method
test_metadata_passed_to_documents
Test that metadata is properly passed to documents.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:456
Method
test_metadata_skill_emits_only_after_runtime_selection
( self, tmp_path: Path )
lib/crewai/tests/events/test_skill_usage_events.py:50
Method
test_metadata_structure
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:132
Method
test_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:44
Method
test_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:754
Method
test_method_description_reaches_the_router_catalog
(self)
lib/crewai/tests/test_flow_conversation.py:3325
← previous
next →
15,501–15,600 of 19,264, ranked by callers