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_quiet_conversation_keeps_a_failed_root
(monkeypatch)
lib/crewai/tests/telemetry/test_conversation_spans.py:121
Function
test_quiet_turn_preserves_events_and_propagates_errors
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:119
Method
test_quiet_user_flow_still_fires_boundary_hooks
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:177
Method
test_quiet_user_flow_still_fires_step_hooks
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:251
Function
test_quit_during_execution_rejects_late_consent
(monkeypatch, kind)
lib/cli/tests/test_trace_consent_session.py:272
Function
test_quit_during_turn_discards_trace_after_worker_finishes
( monkeypatch, prior_turn )
lib/cli/tests/test_trace_consent_session.py:212
Function
test_quit_rejects_pending_consent_and_releases_worker
(monkeypatch)
lib/cli/tests/test_trace_consent_session.py:163
Function
test_quitting_at_the_key_prompt_counts_where_the_run_stopped
Ctrl-C or Ctrl-D at the prompt: the run stopped there, before kickoff.
lib/cli/tests/test_run_usage.py:1260
Function
test_quota_limited_429_raises_immediately
A 429 with QUOTA_LIMITED is NOT retried — quota exhaustion is terminal.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:536
Function
test_quote_identifier_preserves_caller_casing
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:760
Method
test_quoted_delimiters_do_not_split_a_field
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:519
Function
test_rag_tool_add_and_query
Test adding content and querying with RagTool.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:46
Function
test_rag_tool_config_with_qdrant_and_azure_embeddings
Test RagTool with Qdrant vector DB and Azure embeddings config.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:275
Function
test_rag_tool_initialization
Test that RagTool initializes with CrewAI adapter by default.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:23
Function
test_rag_tool_no_results
Test RagTool when no relevant content is found.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:169
Function
test_rag_tool_with_azure_config_without_env_vars
Test that RagTool accepts Azure config without requiring env vars. This test verifies the fix for the issue where RAG tools were ignoring the
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:190
Function
test_rag_tool_with_custom_embeddings
Test RagTool with custom embeddings configuration to ensure no API calls.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:130
Function
test_rag_tool_with_file
Test RagTool with file content.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:90
Function
test_rag_tool_with_openai_config_without_env_vars
Test that RagTool accepts OpenAI config without requiring env vars.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:239
Method
test_ragtool_azure_config
Test RagTool Azure config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:331
Method
test_ragtool_cohere_config
Test RagTool Cohere config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:315
Method
test_ragtool_google_generativeai_config
Test RagTool Google Generative AI config from ragtool.mdx.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:344
Method
test_ragtool_jina_config
Test RagTool Jina config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:354
Method
test_ragtool_ollama_config
Test RagTool Ollama config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:323
Method
test_ragtool_openai_config
Test RagTool OpenAI config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:308
Method
test_ragtool_openclip_config
Test documented OpenCLIP device strings are preserved.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:363
Method
test_ragtool_sentence_transformer_config
Test RagTool SentenceTransformer config from ragtool.mdx. Parametrized over documented device strings to confirm each value is preser
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:375
Method
test_raise_aborts_the_run
(self)
lib/crewai/tests/tools/test_tool_failure.py:366
Function
test_raise_connection_failure_builds_auth_error_from_http_status
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:119
Function
test_raise_connection_failure_falls_back_to_connection_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:136
Function
test_raise_connection_failure_prefers_teardown_http_status
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:126
Function
test_raise_connection_failure_reraises_typed_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:110
Method
test_raise_policy_counts_before_it_aborts
(self, features: list[str])
lib/crewai/tests/tools/test_tool_failure.py:2475
Method
test_raise_policy_still_aborts_at_the_limit
(self)
lib/crewai/tests/tools/test_tool_failure.py:1990
Method
test_raise_policy_still_aborts_the_step
(self)
lib/crewai/tests/tools/test_tool_failure.py:2291
Method
test_raise_policy_still_stops_the_crew
(self)
lib/crewai/tests/tools/test_tool_failure.py:2175
Function
test_raise_policy_tool_still_aborts_the_flow
()
lib/crewai/tests/test_flow_tool_action_failure_policy.py:74
Method
test_raised_tool_produces_a_failure_record
(self)
lib/crewai/tests/tools/test_tool_failure.py:624
Method
test_raises_for_directory
Test that FilePath raises for directories.
lib/crewai/tests/utilities/test_files.py:100
Method
test_raises_for_missing_file
Test that FilePath raises for non-existent files.
lib/crewai/tests/utilities/test_files.py:95
Method
test_raises_for_unknown_type
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:219
Method
test_raises_when_no_openai_key_and_no_custom_fn
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:321
Method
test_raises_without_pillow
Test that ProcessingDependencyError is raised without Pillow.
lib/crewai-files/tests/processing/test_transformers.py:105
Method
test_raising_after_hook_does_not_skip_later_result_rewrites
( self, mock_tool, mock_agent )
lib/crewai/tests/hooks/test_tool_hooks.py:616
Method
test_raising_before_hook_does_not_skip_later_hooks
Fail-open is per-hook: a crashing hook must not disable its neighbors. Regression guard for the dispatcher migration: previously the
lib/crewai/tests/hooks/test_llm_hooks.py:340
Method
test_raising_before_hook_does_not_skip_later_hooks_or_block
( self, mock_tool, mock_agent )
lib/crewai/tests/hooks/test_tool_hooks.py:587
Function
test_random_number_tool_invalid_range
()
lib/crewai/tests/tools/test_tool_usage.py:87
Function
test_random_number_tool_range
()
lib/crewai/tests/tools/test_tool_usage.py:81
Function
test_random_number_tool_schema
()
lib/crewai/tests/tools/test_tool_usage.py:93
Function
test_rate_limit_disabled_when_zero
requests_per_second=0 disables rate limiting entirely.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:659
Function
test_rate_limit_per_instance_independent
Each instance has its own rate-limit clock; a request on one does not delay the other.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:673
Function
test_rate_limit_skips_sleep_when_enough_time_passed
No sleep when the elapsed time already exceeds the interval.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:644
Function
test_rate_limit_sleeps_when_too_fast
Back-to-back calls within the interval trigger a sleep.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:626
Function
test_rate_limits_are_not_treated_as_context_window_errors
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_llm.py:505
Function
test_raw_false_calls_refine_response
With raw=False (the default), _refine_response transforms the API response.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:414
Method
test_raw_legacy_outputs_property_remains_readable
(self)
lib/crewai/tests/test_checkpoint.py:698
Method
test_raw_responses_item_uses_call_id_not_item_id
A raw function_call item carries both; only call_id can be correlated. function_call_output must reference call_id, so picking up the item's
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:78
Method
test_re_emits_on_each_execution
Usage is per-execution, unlike activation which is idempotent.
lib/crewai/tests/events/test_skill_usage_events.py:132
Function
test_re_validation_keeps_the_llm_a_kickoff_time_swap_set
()
lib/crewai/tests/test_llm_overlay.py:568
Function
test_re_validation_of_an_existing_agent_does_not_read_the_overlay_again
The event bus registers an agent in its RuntimeState the first time it emits, which re-runs `post_init_setup` on the same object. Inside a block
lib/crewai/tests/test_llm_overlay.py:543
Method
test_reaches_the_limit_and_records_a_repeated_call_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:1963
Method
test_reaches_the_wire_through_the_llm_factory
gpt-oss looks like an OpenAI name to the factory, so it never flags it.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:503
Method
test_reaches_the_wire_through_the_llm_factory
End to end: LLM(...) -> native provider -> request params.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:706
Function
test_react_follow_up_after_tool_result_is_retried
(use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:427
Method
test_react_path_reports_a_malformed_call
(self)
lib/crewai/tests/tools/test_tool_failure.py:1490
Function
test_react_tool_hooks_receive_agent_text_and_raw_cached_typed_output
()
lib/crewai/tests/tools/test_tool_usage.py:206
Function
test_react_tools_keep_classic_task_slice_in_prompt_slot
()
lib/crewai/tests/utilities/test_prompts_custom_templates.py:51
Method
test_read_caches_content
Test that read() caches content.
lib/crewai-files/tests/test_file_url.py:102
Method
test_read_fetches_content
Test that read() fetches content from URL.
lib/crewai-files/tests/test_file_url.py:87
Function
test_read_last_run_reads_the_record_crewai_writes
(tmp_path)
lib/cli/tests/experimental/test_eval_crew.py:1590
Function
test_read_only_contributor_still_requires_issue
()
lib/crewai/tests/ci/test_ftc_require_issue.py:150
Method
test_read_only_cte_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:70
Function
test_read_only_file_is_not_an_error
A read-only checkout must not break the command that called this.
lib/crewai/tests/telemetry/test_project_id.py:148
Method
test_read_secure_file_exists
Test reading existing file.
lib/cli/tests/test_token_manager.py:239
Method
test_read_secure_file_exists
Test reading existing file.
lib/crewai/tests/cli/test_token_manager.py:235
Method
test_read_secure_file_not_exists
Test reading non-existent file returns None.
lib/cli/tests/test_token_manager.py:254
Method
test_read_secure_file_not_exists
Test reading non-existent file returns None.
lib/crewai/tests/cli/test_token_manager.py:250
Method
test_read_updates_content_type_from_response
Test that read() updates content type from response headers.
lib/crewai-files/tests/test_file_url.py:116
Function
test_readers_block_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:95
Function
test_reading_an_evaluation_says_this_cli_can_export_it
`can_export=1` lets the brief name `crewai eval export`: an AMP that does not know the parameter drops it, and the brief stays silent about it.
lib/cli/tests/test_plus_api.py:628
Function
test_reading_llm_property_does_not_override_complexity_level
Reading the default LLM must not override later complexity selection.
lib/crewai-tools/tests/tools/test_vision_tool.py:82
Function
test_reads_a_real_pdf_end_to_end
Real PDF bytes are extracted page by page.
lib/crewai-tools/tests/url_read_tool_test.py:365
Method
test_reads_from_valid_cache
Test reading yanked status from a valid cache.
lib/cli/tests/test_version.py:303
Method
test_reads_from_valid_cache
Test reading yanked status from a valid cache.
lib/crewai/tests/cli/test_version.py:267
Function
test_reads_only_an_allowed_artifact
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:8
Function
test_reads_plain_text
A text response is returned as-is, with the configured limits applied.
lib/crewai-tools/tests/url_read_tool_test.py:144
Method
test_reads_sampling_params_off_self
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:192
Function
test_reads_utf8_by_default
(tmp_path, monkeypatch)
lib/crewai-tools/tests/file_read_tool_test.py:416
Method
test_reads_wait_for_a_free_slot_and_say_so_when_none_frees
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:380
Function
test_real_documentdb_ingestion_index_and_ranked_search
Verify ingestion, IVF indexing, ranking, and optional result fields.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_e2e.py:92
Function
test_real_documentdb_prefilter_and_duplicate_id_error
Verify native metadata filtering and duplicate-ID write failures.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_e2e.py:128
Function
test_real_exception_class_names_are_accepted
Every builtin exception name is a valid identifier, so none are dropped.
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:117
Function
test_real_http_error_status_still_raises_its_own_type
A genuine 429 was already handled; it must not route through the new guard.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:368
Function
test_real_setup_failure_closes_connection
(monkeypatch, failure_stage, case)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:495
Method
test_reason_enum_member_is_used
INVALID_INPUT was declared but unreferenced before this.
lib/crewai/tests/tools/test_tool_failure.py:1287
Function
test_reason_is_echoed_back
(mock_sleep, tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:45
Method
test_reasoning_effort_high_runs_full_observation_pipeline
High effort: full observation pipeline with decide/replan/refine. Verifies that with reasoning_effort='high': 1. The agent produces a
lib/crewai/tests/agents/test_agent_executor.py:2049
Method
test_reasoning_effort_low_marks_complete_without_deciding
Low effort: mark_completed is called, decide_next_action is not. Unit test verifying the low handler's behavior directly.
lib/crewai/tests/agents/test_agent_executor.py:2185
Method
test_reasoning_effort_low_marks_failed_steps_failed_without_replan
Low effort records failed heuristic observations without replanning.
lib/crewai/tests/agents/test_agent_executor.py:2221
Method
test_reasoning_effort_low_skips_decide_and_replan
Low effort: heuristic observe, no decide/replan/refine LLM pipeline. Verifies that with reasoning_effort='low': 1. The agent produces
lib/crewai/tests/agents/test_agent_executor.py:1986
← previous
next →
16,801–16,900 of 19,264, ranked by callers