MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Methodtest_chained_listeners_triggered_by
Chained listeners should have triggered_by_event_id pointing to their triggering method.
lib/crewai/tests/events/test_event_ordering.py:716
Methodtest_chained_router_feedback_steps
Test that a router outcome can trigger another router method. Regression test: @listen("outcome") combined with @human_feedback(emit=...)
lib/crewai/tests/test_human_feedback_integration.py:159
Methodtest_chained_router_rejected_path
Test that a start-router outcome routes to a non-router listener.
lib/crewai/tests/test_human_feedback_integration.py:226
Functiontest_chained_routers_no_self_loops
Test that chained routers don't create self-referencing edges. This tests the bug where routers with string triggers (like 'auth', 'exp') wou
lib/crewai/tests/test_flow_visualization.py:496
Functiontest_changed_catalog_opens_a_pr_from_its_own_branch
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, calls: list[list[str]] )
lib/devtools/tests/test_release_catalog_phase.py:45
Methodtest_chat_completions_style_still_recognized
(self)
lib/crewai/tests/utilities/test_agent_utils.py:817
Methodtest_chat_completions_style_still_uses_nested_function
(self)
lib/crewai/tests/utilities/test_agent_utils.py:857
Methodtest_chat_rejects_non_conversational_flows
(self)
lib/crewai/tests/test_flow_conversation.py:1127
Methodtest_chat_repl_drives_declared_turns
(self)
lib/crewai/tests/test_flow_conversation.py:3564
Functiontest_chat_requires_conversational_opt_in
(tui)
lib/crewai/tests/agents/test_conversation.py:150
Functiontest_chat_retains_history_and_uses_flow_repl_options
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:54
Methodtest_chat_runs_repl_over_handle_turn_and_finalizes
(self)
lib/crewai/tests/test_flow_conversation.py:1062
Methodtest_chat_stringifies_repl_output_like_conversation_helpers
(self)
lib/crewai/tests/test_flow_conversation.py:1102
Functiontest_chat_turn_streaming_defaults_and_opt_outs
(monkeypatch, transport, kind, llm_options, stream, expected)
lib/crewai/tests/test_flow_chat_tui.py:68
Functiontest_check_bucket_exists_fail
Test check for bucket non-existence.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:352
Functiontest_check_collection_exists_fail
Test check for collection non-existence.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:381
Functiontest_check_index_exists_fail_global
Test check for global index non-existence.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:412
Functiontest_check_index_exists_fail_scoped
Test check for scoped index non-existence.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:399
Methodtest_check_max_iterations_not_reached
Test routing when iterations < max.
lib/crewai/tests/agents/test_agent_executor.py:438
Methodtest_check_max_iterations_reached
Test routing when iterations >= max.
lib/crewai/tests/agents/test_agent_executor.py:446
Methodtest_check_native_todo_completion_requires_current_todo
( self, mock_dependencies )
lib/crewai/tests/agents/test_agent_executor.py:1504
Functiontest_check_scope_exists_fail
Test check for scope non-existence.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:366
Functiontest_checking_a_class_claim_runs_no_lazy_module_getattr
crewai's and pydantic's module `__getattr__` import on a miss (crewai's `Memory` loads lancedb): checking where a class says it is defined calls n
lib/cli/tests/test_run_usage.py:781
Methodtest_checkpoint_chaining
RuntimeState.checkpoint() chains parent_id after each write.
lib/crewai/tests/test_checkpoint.py:481
Methodtest_checkpoint_chaining_sqlite
(self)
lib/crewai/tests/test_checkpoint.py:570
Functiontest_checkpoint_command_usage
(args, target, action)
lib/cli/tests/test_checkpoint_telemetry.py:32
Methodtest_checkpoint_fork_branch_subdir
(self)
lib/crewai/tests/test_checkpoint.py:431
Methodtest_checkpoint_listener_logs_resume_hint
(self)
lib/crewai/tests/test_checkpoint_cli.py:460
Methodtest_checkpoint_not_written_on_replay
(self)
lib/crewai/tests/events/test_event_replay.py:94
Methodtest_checkpoint_stores_branch_and_parent
(self)
lib/crewai/tests/test_checkpoint.py:531
Functiontest_checkpoint_usage_respects_telemetry_opt_out
(monkeypatch, flag)
lib/cli/tests/test_checkpoint_telemetry.py:76
Methodtest_checkpoint_uses_utf8_for_non_ascii_json
(self)
lib/crewai/tests/test_checkpoint.py:412
Functiontest_checkpoint_with_a_pre_change_cached_window_restores_the_catalog_window
( model: str, full_window: int )
lib/crewai/tests/llms/test_context_window.py:742
Methodtest_checkpoint_writes_to_branch_subdir
(self)
lib/crewai/tests/test_checkpoint.py:404
Functiontest_choice_threshold_is_inclusive
(confidence, expected)
lib/crewai/tests/test_jev_evaluation_runner.py:225
Functiontest_chromadb_adapter_explains_how_to_install_it
()
lib/crewai-tools/tests/tools/rag/test_rag_tool_default_provider.py:82
Functiontest_chromadb_is_used_when_configured
()
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:110
Functiontest_chromadb_provider_modules_explain_the_missing_extra
(module)
lib/crewai/tests/rag/config/test_chromadb_optional.py:54
Functiontest_chromadb_without_the_extra_explains_how_to_install
(monkeypatch)
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:131
Methodtest_chunk_filenames
Test that chunked files have indexed filenames.
lib/crewai-files/tests/processing/test_transformers.py:219
Methodtest_chunk_filenames
Test that chunked files have indexed filenames.
lib/crewai-files/tests/processing/test_transformers.py:274
Methodtest_chunk_on_closed_stream_does_not_raise
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:253
Methodtest_chunk_overlap_larger_than_max_chars
Test that overlap > max_chars doesn't cause infinite loop.
lib/crewai-files/tests/processing/test_transformers.py:322
Methodtest_chunk_page_counts
Test that each chunk has correct page count.
lib/crewai-files/tests/processing/test_transformers.py:240
Methodtest_chunk_prefers_newline_boundaries
Test that chunking prefers to split at newlines.
lib/crewai-files/tests/processing/test_transformers.py:294
Methodtest_chunk_preserves_extension
Test that file extension is preserved in chunks.
lib/crewai-files/tests/processing/test_transformers.py:285
Methodtest_chunk_splits_large_pdf
Test that large PDFs are split into chunks.
lib/crewai-files/tests/processing/test_transformers.py:199
Methodtest_chunk_splits_large_text
Test that large text files are split into chunks.
lib/crewai-files/tests/processing/test_transformers.py:254
Methodtest_chunk_with_overlap
Test chunking with overlapping pages.
lib/crewai-files/tests/processing/test_transformers.py:230
Methodtest_chunk_with_overlap
Test chunking with overlapping characters.
lib/crewai-files/tests/processing/test_transformers.py:312
Functiontest_chunks_cover_the_text_and_only_the_last_reaches_its_end
( chunk_overlap: int, )
lib/crewai/tests/knowledge/test_knowledge_chunking.py:36
Methodtest_chunks_property
Test accessing collected chunks.
lib/crewai/tests/test_streaming.py:144
Functiontest_circular_dependency_detection
Test that circular dependencies are detected and raise an error.
lib/crewai/tests/events/test_depends.py:195
Methodtest_circular_ref_preserves_type
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1167
Methodtest_claim_usage_returns_a_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:958
Methodtest_clamps_negative_differences_to_zero
(self)
lib/crewai/tests/agents/test_lite_agent.py:1353
Methodtest_class
(self)
lib/crewai/tests/test_callback.py:64
Methodtest_class_based_flow_falls_back_to_its_class_attributes
(self)
lib/crewai/tests/test_flow_conversation.py:3144
Methodtest_class_based_flow_keeps_its_own_flag
(self)
lib/crewai/tests/test_flow_conversation.py:3100
Methodtest_class_based_set_matches_the_framework_labels
(self)
lib/crewai/tests/test_flow_conversation.py:3019
Methodtest_class_config_wins_over_a_declaration_block
(self)
lib/crewai/tests/test_flow_conversation.py:3261
Functiontest_class_level_persist_without_instance_kwarg_saves_and_restores
()
lib/crewai/tests/test_flow_from_definition.py:4559
Functiontest_class_metadata_comes_from_declaration
Test that nodes include only definition-derived class metadata.
lib/crewai/tests/test_flow_visualization.py:377
Methodtest_class_on_module
(self)
lib/crewai/tests/test_callback.py:230
Methodtest_class_ref_round_trips_to_basemodel_subclass
(self)
lib/crewai/tests/test_checkpoint.py:359
Methodtest_class_ref_serializes_as_schema
(self)
lib/crewai/tests/test_checkpoint.py:345
Functiontest_classic_and_wizard_offer_the_same_models_in_the_same_order
Both ways of creating a crew lead with the same default.
lib/cli/tests/test_constants.py:438
Functiontest_classic_create_adds_the_selected_provider_extra_to_the_crewai_dependency
( tmp_path, monkeypatch, provider, model, answers, crewai_with_extras )
lib/cli/tests/test_create_crew.py:2434
Functiontest_classic_create_blank_key_already_exported_prints_no_line_to_add
( mock_prompt, mock_select_model, mock_select_provider, mock_get_provider_data, mock_copy_
lib/cli/tests/test_create_crew.py:2179
Functiontest_classic_create_blank_key_prints_the_line_to_add_and_claims_no_save
( mock_prompt, mock_select_model, mock_select_provider, mock_get_provider_data, mock_copy_
lib/cli/tests/test_create_crew.py:2067
Functiontest_classic_create_blank_region_still_reports_the_keys_saved
( mock_prompt, mock_select_model, mock_select_provider, mock_get_provider_data, mock_copy_
lib/cli/tests/test_create_crew.py:2141
Functiontest_classic_create_offers_curated_models_when_the_catalog_is_unreachable
( provider, classic_create, tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2538
Functiontest_classic_create_other_lists_catalog_providers_when_the_catalog_loads
( classic_create, tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2555
Functiontest_classic_create_reads_a_piped_key_from_stdin
( mock_select_model, mock_select_provider, mock_get_provider_data, mock_copy_template, moc
lib/cli/tests/test_create_crew.py:2213
Functiontest_classic_create_returns_none_when_it_adds_a_crew_to_a_project
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2486
Functiontest_classic_create_returns_the_folder_it_created
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2476
Functiontest_classic_create_returns_the_folder_when_the_provider_list_is_unavailable
The curated lists stand in for the catalog, so the crew is still created.
lib/cli/tests/test_create_crew.py:2497
Functiontest_classic_create_saved_key_keeps_the_success_message
( mock_prompt, mock_select_model, mock_select_provider, mock_get_provider_data, mock_copy_
lib/cli/tests/test_create_crew.py:2107
Functiontest_classic_create_with_skip_provider_keeps_the_tools_only_dependency
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2450
Functiontest_classic_lists_lead_with_current_small_models
`crewai create crew --classic` lists models in MODELS order.
lib/cli/tests/test_constants.py:76
Functiontest_classic_provider_extra_covers_every_model_it_lists
Classic create takes the extra from the provider it lists a model under, so a listed model crewAI sends to LiteLLM must sit under a litellm provid
lib/cli/tests/test_constants.py:381
Functiontest_classify_azure_extra_missing_is_error
The real message raised by the Azure provider module uses plain double quotes around the install command (no backticks). Match the exact strin
lib/cli/tests/deploy/test_validate.py:568
Functiontest_classify_keyerror_at_import_is_warning
Regression for `KeyError: 'SERPLY_API_KEY'` raised at import time.
lib/cli/tests/deploy/test_validate.py:608
Functiontest_classify_missing_api_key_error_is_warning
Newer crewai raises a missing key as itself, not inside an ImportError.
lib/cli/tests/deploy/test_validate.py:552
Functiontest_classify_missing_openai_key_is_warning
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:537
Functiontest_classify_missing_provider_extra_matches_real_messages
Regression for the four provider error strings verbatim.
lib/cli/tests/deploy/test_validate.py:593
Functiontest_classify_no_crewbase_class_is_error
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:616
Functiontest_classify_no_flow_subclass_is_error
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:626
Functiontest_classify_stale_crewai_pin_attribute_error
Regression for a stale crewai pin missing `_load_response_format`.
lib/cli/tests/deploy/test_validate.py:632
Functiontest_classify_unknown_error_is_fallback
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:643
Functiontest_classify_validation_error_without_a_key_is_not_an_llm_failure
Only a ValidationError that names a missing key is an LLM key problem.
lib/cli/tests/deploy/test_validate.py:786
Methodtest_classmethod_serializes_to_dotted_path
(self)
lib/crewai/tests/test_callback.py:91
Functiontest_claude_4_5_family_uses_200k_context_window
(model: str)
lib/crewai/tests/llms/anthropic/test_anthropic.py:157
Functiontest_claude_code_takes_precedence_over_cursor
(clean_env)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:139
Methodtest_claude_model_drops_unrelated_tool_results_from_preserved_pair
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:263
Methodtest_claude_model_maps_max_tokens_to_max_completion_tokens
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:379
Functiontest_claude_model_newer_than_constants_routes_to_anthropic
A Claude release we have not listed yet must not fall through to OpenAI.
lib/crewai/tests/test_llm.py:1173
Methodtest_claude_model_normalizes_stringified_tool_calls_with_results
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:167
Methodtest_claude_model_preserves_complete_tool_call_result_pair
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:230
Methodtest_claude_model_preserves_complete_tool_use_content_block_pair
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:332
← previousnext →12,001–12,100 of 19,735, ranked by callers