MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,484 in github.com/crewAIInc/crewAI

Functiontest_memory_match
()
lib/crewai/tests/memory/test_unified_memory.py:87
Functiontest_memory_match_embedding_excluded_from_serialization
MemoryMatch serialization should not leak embedding vectors.
lib/crewai/tests/memory/test_unified_memory.py:117
Methodtest_memory_openai_config
Test OpenAI config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:264
Methodtest_memory_openai_config_with_options
Test OpenAI config with all options from memory.mdx.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:271
Functiontest_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
Functiontest_memory_record_defaults
()
lib/crewai/tests/memory/test_unified_memory.py:76
Functiontest_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
Functiontest_memory_remember_and_recall_with_default_embedder
( tmp_path: Path, openai_mock )
lib/crewai/tests/memory/test_default_embedder.py:42
Functiontest_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
Functiontest_memory_remember_recall_shallow
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:319
Functiontest_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
Functiontest_memory_reset_all_rebuilds_reopened_store_with_new_dimension
( lancedb_path: Path, )
lib/crewai/tests/memory/test_dimension_mismatch.py:101
Functiontest_memory_root_scope_confines_crafted_explicit_scope
( storage: LanceDBStorage, )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:136
Methodtest_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
Methodtest_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
Functiontest_memory_save_completion_updates_timed_out_row
()
lib/cli/tests/test_crew_run_tui.py:1167
Functiontest_memory_save_completion_with_unmatched_id_does_not_update_running_row
()
lib/cli/tests/test_crew_run_tui.py:1202
Functiontest_memory_save_completion_without_id_does_not_update_stale_row
()
lib/cli/tests/test_crew_run_tui.py:1294
Functiontest_memory_save_events_are_shown_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1061
Functiontest_memory_save_failure_is_shown_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1139
Functiontest_memory_save_failure_with_unmatched_id_does_not_update_running_row
()
lib/cli/tests/test_crew_run_tui.py:1247
Functiontest_memory_save_failure_without_id_does_not_update_stale_row
()
lib/cli/tests/test_crew_run_tui.py:1344
Functiontest_memory_save_payloads_are_truncated_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1393
Functiontest_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
Functiontest_memory_scope_extract_memories_delegates
MemoryScope.extract_memories delegates to underlying Memory.
lib/crewai/tests/memory/test_unified_memory.py:660
Functiontest_memory_scope_remember_recall
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:424
Methodtest_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
Functiontest_memory_scope_slice
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:353
Functiontest_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
Functiontest_memory_slice_extract_memories_delegates
MemorySlice.extract_memories delegates to underlying Memory.
lib/crewai/tests/memory/test_unified_memory.py:672
Functiontest_memory_slice_recall
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:437
Functiontest_memory_slice_remember_is_noop_when_read_only
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:448
Functiontest_memory_string_storage_qdrant_edge
Test that storage='qdrant-edge' string instantiation works.
lib/crewai/tests/memory/test_qdrant_edge_storage.py:319
Functiontest_memory_with_qdrant_edge
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:294
Methodtest_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
Functiontest_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
Methodtest_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
Methodtest_memory_without_root_scope_works_normally
Memory without root_scope behaves exactly as before.
lib/crewai/tests/memory/test_memory_root_scope.py:671
Methodtest_merge_file_and_input_data
(self)
lib/cli/tests/test_config.py:49
Methodtest_merge_file_and_input_data
(self)
lib/crewai/tests/cli/test_config.py:46
Methodtest_merges_session_and_user_message
(self)
lib/crewai/tests/test_flow_conversation.py:78
Functiontest_message
Create a simple test message.
lib/crewai/tests/a2a/test_a2a_integration.py:28
Methodtest_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
Functiontest_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
Methodtest_messages_are_mutable_reference
Test that modifying context.messages modifies executor.messages.
lib/crewai/tests/hooks/test_llm_hooks.py:77
Methodtest_messages_without_tool_calls_pass_through
(self, message)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:160
Functiontest_metadata
Retain notebook versions, language, kernel, and counts for each cell type.
lib/crewai-tools/tests/rag/test_notebook_loader.py:75
Methodtest_metadata_accepts_other_keys
(self)
lib/crewai/tests/skills/test_models_version.py:26
Functiontest_metadata_filter
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:132
Functiontest_metadata_filter_handling
Test metadata filter parameter handling.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:163
Functiontest_metadata_filter_with_categories_still_applies
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_search_categories.py:74
Methodtest_metadata_included_in_result
Test that metadata is passed through to HumanFeedbackResult.
lib/crewai/tests/test_human_feedback_integration.py:648
Methodtest_metadata_level
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:257
Methodtest_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
Methodtest_metadata_skill_emits_only_after_runtime_selection
( self, tmp_path: Path )
lib/crewai/tests/events/test_skill_usage_events.py:50
Methodtest_metadata_structure
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:132
Methodtest_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:44
Methodtest_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:754
Methodtest_method_description_reaches_the_router_catalog
(self)
lib/crewai/tests/test_flow_conversation.py:3325
Functiontest_method_execution_paused_is_collected_whole
(listener)
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:115
Methodtest_method_execution_suppressed_when_flow_events_suppressed
``suppress_flow_events=True`` silences MethodExecution events so infrastructure flows (AgentExecutor, memory) don't emit one trace span
lib/crewai/tests/test_flow_conversation.py:1845
Functiontest_method_level_persist_decorator_saves_only_that_method
()
lib/crewai/tests/test_flow_from_definition.py:3816
Functiontest_method_level_persist_disabled_wins_over_flow_level
()
lib/crewai/tests/test_flow_from_definition.py:3770
Functiontest_method_level_persist_from_declaration_saves_only_that_method
()
lib/crewai/tests/test_flow_from_definition.py:3760
Methodtest_method_outputs_contains_real_output
The _method_outputs list should contain the real method output, not the collapsed outcome.
lib/crewai/tests/test_human_feedback_decorator.py:1260
Methodtest_method_parent_is_flow
Method execution events should have flow as parent.
lib/crewai/tests/events/test_event_ordering.py:292
Functiontest_method_paused_marks_step_paused
()
lib/cli/tests/test_crew_run_tui.py:2342
Functiontest_method_persist_backend_overrides_flow_level_backend_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3835
Functiontest_method_persist_decorator_overrides_class_level_backend
()
lib/crewai/tests/test_flow_from_definition.py:3866
Methodtest_method_signature_detected
Test that methods with 'self' parameter are detected.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:576
Functiontest_migrate_pyproject_backs_up_lock_file
The migration renames ``poetry.lock`` to ``poetry-old.lock`` and backs up pyproject.
lib/cli/tests/test_update_crew.py:32
Functiontest_migrate_pyproject_overwrites_existing_lock_backup
A second ``crewai update`` must replace a stale ``poetry-old.lock``. ``os.rename`` refuses to overwrite an existing destination on Windows (`
lib/cli/tests/test_update_crew.py:48
Methodtest_min_max
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:728
Methodtest_min_max_length
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:733
Methodtest_minimal_crew
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:160
Methodtest_minimal_declaration_implies_conversation_state
(self)
lib/crewai/tests/test_flow_conversation.py:3311
Methodtest_minimal_declaration_routes_to_a_declared_handler
(self)
lib/crewai/tests/test_flow_conversation.py:3316
Methodtest_minimal_declaration_runs_a_conversational_turn
(self)
lib/crewai/tests/test_flow_conversation.py:3298
Methodtest_minimal_is_forwarded
gpt-5's cheapest setting, and the one extraction workloads want.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:120
Functiontest_minor_version
Retain nonnegative integer minor versions and omit other values.
lib/crewai-tools/tests/rag/test_notebook_loader.py:291
Functiontest_mints_and_persists_an_id
(pyproject)
lib/crewai/tests/telemetry/test_project_id.py:40
Methodtest_minutes
(self)
lib/crewai/tests/test_checkpoint_cli.py:135
Methodtest_mismatched_names
(self, tmp_path: Path)
lib/crewai/tests/skills/test_validation.py:89
Methodtest_missing_account_raises_clear_error
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/llms/snowflake/test_snowflake.py:85
Functiontest_missing_action_error
()
lib/crewai/tests/agents/test_crew_agent_parser.py:216
Functiontest_missing_action_input_error
()
lib/crewai/tests/agents/test_crew_agent_parser.py:225
Functiontest_missing_agent_definition_has_actionable_error
(tmp_path: Path)
lib/crewai-core/tests/test_agent_project_entrypoint.py:91
Methodtest_missing_agent_file_raises
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:833
Functiontest_missing_agents_yaml_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:479
Functiontest_missing_api_key
Test that missing API key raises appropriate error.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:116
Functiontest_missing_api_key_error_still_imports_from_crewai_llm
`crewai.llm` re-exported it in released 1.15.34-1.15.37; the class it names must stay the one every provider raises.
lib/crewai/tests/test_imports.py:158
Functiontest_missing_api_key_is_asked_for_before_chat
(tmp_path, monkeypatch, pasted, blank)
lib/cli/tests/test_run_agent.py:302
Functiontest_missing_api_key_raises
()
lib/crewai-tools/tests/tools/brave_search_tool_test.py:106
Functiontest_missing_api_key_raises
(openai_mock, monkeypatch)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:70
Methodtest_missing_api_key_raises_validation_error
Test that missing API key raises ValidationError when no env vars set.
lib/crewai/tests/rag/embeddings/test_factory_openrouter.py:128
Methodtest_missing_at
(self)
lib/crewai/tests/skills/test_registry.py:127
Methodtest_missing_cache_fields_preserve_non_cached_totals
(self)
lib/crewai/tests/events/test_llm_usage_event.py:355
Functiontest_missing_cache_function_keeps_the_caching_default
A tool dict written by hand, as in a JSON project file, may omit it.
lib/crewai/tests/tools/test_deserialization_guard.py:116
Functiontest_missing_choices_without_error_object_is_a_validation_error
Distinguishable from a retryable upstream failure, which is the report's ask.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:268
Methodtest_missing_closing_delimiter
(self)
lib/crewai/tests/skills/test_parser.py:46
← previousnext →15,701–15,800 of 19,484, ranked by callers