MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

Functiontest_agent_with_missing_response_template
Test that an agent with system_template and prompt_template but no response_template works without errors.
lib/crewai/tests/agents/test_agent.py:172
Methodtest_agent_with_mixed_configs_gets_injection
Agent with list containing A2AServerConfig should get to_agent_card.
lib/crewai/tests/a2a/utils/test_agent_card.py:48
Functiontest_agent_with_ollama_llama3
()
lib/crewai/tests/agents/test_agent.py:1542
Functiontest_agent_with_only_crewai_knowledge
()
lib/crewai/tests/agents/test_agent.py:1997
Functiontest_agent_with_only_prompt_template
Test that an agent with only system_template works without errors.
lib/crewai/tests/agents/test_agent.py:156
Functiontest_agent_with_only_system_template
Test that an agent with only system_template works without errors.
lib/crewai/tests/agents/test_agent.py:140
Functiontest_agent_with_planning_config_custom_prompts
Test agent with PlanningConfig using custom prompts.
lib/crewai/tests/agents/test_agent_reasoning.py:46
Functiontest_agent_with_planning_config_disabled
Test agent with PlanningConfig disabled.
lib/crewai/tests/agents/test_agent_reasoning.py:72
Functiontest_agent_with_reasoning_and_max_attempts_backward_compat
Test agent with reasoning=True and max_reasoning_attempts (backward compatibility).
lib/crewai/tests/agents/test_agent_reasoning.py:164
Functiontest_agent_with_reasoning_backward_compat
Test agent with reasoning=True (backward compatibility).
lib/crewai/tests/agents/test_agent_reasoning.py:145
Functiontest_agent_with_security_config
Test creating an Agent with a SecurityConfig.
lib/crewai/tests/security/test_integration.py:7
Methodtest_agent_with_server_config_gets_to_agent_card_method
Agent with A2AServerConfig should have to_agent_card method injected.
lib/crewai/tests/a2a/utils/test_agent_card.py:15
Functiontest_agent_with_sse_mcp_config
Test agent setup with MCPServerSSE configuration.
lib/crewai/tests/mcp/test_mcp_config.py:109
Functiontest_agent_with_stdio_mcp_config
Test agent setup with MCPServerStdio configuration.
lib/crewai/tests/mcp/test_mcp_config.py:49
Methodtest_agent_with_tools
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:887
Methodtest_agent_with_tools_and_reasoning
`reasoning=True` adds a planning call, which must recover as well.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:907
Functiontest_agent_without_a2a_has_no_wrapper
Verify that agents without a2a don't get the wrapper applied.
lib/crewai/tests/agents/test_agent_a2a_wrapping.py:18
Methodtest_agent_without_a2a_no_injection
Agent without any a2a config should not get to_agent_card method.
lib/crewai/tests/a2a/utils/test_agent_card.py:38
Methodtest_agent_without_a2a_works_normally
Test that agent without A2A config works normally.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:111
Functiontest_agent_without_apps_no_platform_tools
Test that agents without apps don't trigger platform tools integration.
lib/crewai/tests/agents/test_agent.py:2732
Functiontest_agent_without_max_rpm_respects_crew_rpm
(capsys)
lib/crewai/tests/agents/test_agent.py:585
Methodtest_agent_without_server_config_no_injection
Agent without A2AServerConfig should not get to_agent_card method.
lib/crewai/tests/a2a/utils/test_agent_card.py:27
Methodtest_agent_without_skills_emits_nothing
(self)
lib/crewai/tests/events/test_skill_usage_events.py:169
Functiontest_agent_without_state_gets_no_tools_instructions_or_saving
(db)
lib/crewai/tests/agents/test_agent_state.py:291
Methodtest_agent_without_tools_is_untouched
No tools means no conflict, so nothing should be rewritten.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:929
Methodtest_agent_without_tools_no_thought_in_output
Test that agent without tools produces clean output without 'Thought:' prefix.
lib/crewai/tests/utilities/test_prompts_no_thought_leakage.py:160
Functiontest_agent_without_tools_still_gets_the_schema_on_its_only_call
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:368
Methodtest_agents_accept_a_crew_offered_handler_by_default
``Crew(cache=True)`` offers its handler via set_cache_handler at kickoff; agents that didn't explicitly opt out must accept it.
lib/crewai/tests/test_tool_cache_default.py:188
Functiontest_agents_do_not_get_delegation_tools_with_there_is_only_one_agent
()
lib/crewai/tests/test_crew.py:1752
Functiontest_agents_md_command_parser_accepts_a_group_run_without_a_subcommand
()
lib/cli/tests/test_create_crew.py:2704
Functiontest_agents_md_command_parser_rejects_a_group_that_needs_a_subcommand
()
lib/cli/tests/test_create_crew.py:2709
Functiontest_agents_md_docs_paths_exist
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2920
Functiontest_agents_md_imports_resolve
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2902
Functiontest_agents_md_never_list_still_catches_advice
()
lib/cli/tests/test_create_crew.py:2897
Functiontest_agents_md_never_teaches_what_main_removed
(shipped_agents_md, text)
lib/cli/tests/test_create_crew.py:2892
Functiontest_agents_md_numbered_lists_have_no_gaps
(tmp_path, evaluation)
lib/cli/tests/test_create_crew.py:2784
Functiontest_agents_md_python_examples_compile
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2915
Functiontest_agents_md_references_the_feature
(shipped_agents_md, feature)
lib/cli/tests/test_create_crew.py:2877
Functiontest_agents_md_stays_within_its_token_budget
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2884
Functiontest_agents_rpm_is_never_set_if_crew_max_rpm_is_not_set
()
lib/crewai/tests/test_crew.py:1001
Methodtest_agents_sharing_one_llm_report_per_call_usage
(self)
lib/crewai/tests/agents/test_lite_agent.py:1248
Methodtest_agents_that_opted_out_refuse_a_crew_offered_handler
(self)
lib/crewai/tests/test_tool_cache_default.py:198
Functiontest_agents_yaml_from_repository_loads_repository_agent
(tmp_path)
lib/crewai/tests/test_project.py:541
Methodtest_aget_all_files
Test async get_all_files merging.
lib/crewai/tests/utilities/test_file_store.py:147
Functiontest_aget_llm_response_offloads_proactive_compaction
()
lib/crewai/tests/utilities/test_agent_utils.py:380
Functiontest_aget_llm_response_skips_preflight_when_context_respect_is_disabled
()
lib/crewai/tests/utilities/test_agent_utils.py:420
Functiontest_aget_llm_response_summarizes_before_the_model_call
()
lib/crewai/tests/utilities/test_agent_utils.py:345
Methodtest_aget_or_create_collection
Test that aget_or_create_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:207
Methodtest_aget_or_create_collection_existing
Test aget_or_create_collection returns existing collection.
lib/crewai/tests/rag/qdrant/test_client.py:159
Methodtest_aget_or_create_collection_new
Test aget_or_create_collection creates new collection.
lib/crewai/tests/rag/qdrant/test_client.py:183
Methodtest_aget_or_create_collection_with_all_params
Test aget_or_create_collection with all optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:230
Methodtest_aget_or_create_collection_wrong_client_type
Test aget_or_create_collection raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:208
Methodtest_aggregates_resume_after_from_pending
A flow restored via ``from_pending`` is a fresh instance with no ``_flow_match_id``; without seeding it, the listener attached in ``re
lib/crewai/tests/test_flow_usage_metrics.py:418
Methodtest_ainject_files_from_crew_task_store_uses_async_store
Async file injection should not call the sync file store helper.
lib/crewai/tests/agents/test_agent_executor.py:344
Functiontest_ainvoke
Test asynchronous invocation
lib/crewai/tests/tools/test_structured_tool.py:216
Methodtest_ainvoke_guardrail_failure_then_success
Test async guardrail that fails then succeeds on retry.
lib/crewai/tests/task/test_async_task.py:264
Methodtest_ainvoke_guardrail_max_retries_exceeded
Test async guardrail that exceeds max retries.
lib/crewai/tests/task/test_async_task.py:292
Methodtest_ainvoke_guardrail_success
Test async guardrail invocation with successful validation.
lib/crewai/tests/task/test_async_task.py:241
Methodtest_ainvoke_multiple_guardrails
Test async execution with multiple guardrails.
lib/crewai/tests/task/test_async_task.py:317
Functiontest_ainvoke_runs_a_sync_tool_in_the_callers_context
A sync tool runs on another thread, and still sees the caller's context variables, such as the run's platform integration token.
lib/crewai/tests/tools/test_structured_tool.py:225
Methodtest_akickoff_basic
Test basic akickoff execution.
lib/crewai/tests/test_flow.py:1884
Methodtest_akickoff_basic
Test basic async crew kickoff.
lib/crewai/tests/crew/test_async_crew.py:50
Methodtest_akickoff_calls_after_callbacks
Test that async kickoff calls after_kickoff_callbacks.
lib/crewai/tests/crew/test_async_crew.py:190
Methodtest_akickoff_calls_before_callbacks
Test that async kickoff calls before_kickoff_callbacks.
lib/crewai/tests/crew/test_async_crew.py:154
Methodtest_akickoff_equivalent_to_kickoff_async
Test that akickoff produces the same results as kickoff_async.
lib/crewai/tests/test_flow.py:1944
Methodtest_akickoff_for_each_basic
Test basic async kickoff_for_each.
lib/crewai/tests/crew/test_async_crew.py:230
Methodtest_akickoff_for_each_concurrent
Test that async kickoff_for_each runs concurrently.
lib/crewai/tests/crew/test_async_crew.py:265
Functiontest_akickoff_fork_conflict_with_from_checkpoint_raises
akickoff must raise the same conflict ValueError as kickoff/kickoff_async when both from_checkpoint and restore_from_state_id are set.
lib/crewai/tests/test_flow_persistence.py:514
Methodtest_akickoff_handles_exception
Test that async kickoff handles exceptions properly.
lib/crewai/tests/crew/test_async_crew.py:141
Methodtest_akickoff_multiple_tasks
Test async crew kickoff with multiple tasks.
lib/crewai/tests/crew/test_async_crew.py:100
Functiontest_akickoff_pinned_fork
akickoff with both inputs.id and restore_from_state_id pins state.id while hydrating from the source.
lib/crewai/tests/test_flow_persistence.py:484
Methodtest_akickoff_with_async_methods
Test akickoff with async flow methods.
lib/crewai/tests/test_flow.py:1920
Methodtest_akickoff_with_inputs
Test akickoff with inputs.
lib/crewai/tests/test_flow.py:1906
Methodtest_akickoff_with_inputs
Test async crew kickoff with inputs.
lib/crewai/tests/crew/test_async_crew.py:70
Methodtest_akickoff_with_multiple_starts
Test akickoff with multiple start methods.
lib/crewai/tests/test_flow.py:1974
Methodtest_akickoff_with_router
Test akickoff with router method.
lib/crewai/tests/test_flow.py:1994
Functiontest_aliased_fields_keep_their_values_through_state_changes
()
lib/crewai/tests/agents/test_agent_state.py:735
Methodtest_all_boundary_points_fire_once
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:91
Functiontest_all_common_attributes_land_on_exported_spans
End-to-end: every common attribute survives onto arbitrary spans.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:623
Methodtest_all_digits
(self)
lib/crewai/tests/skills/test_validation.py:31
Methodtest_all_ending_events_have_pairs
(self)
lib/crewai/tests/events/test_event_context.py:97
Methodtest_all_fields
(self)
lib/crewai/tests/skills/test_models.py:40
Methodtest_all_fields_in_required_for_strict_mode
All fields (including optional) must be in required for strict mode.
lib/crewai/tests/utilities/test_agent_utils.py:708
Functiontest_all_filter_uses_independent_array_membership_checks
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:723
Functiontest_all_filters_limits_and_failed_batch_with_real_connection
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool_integration.py:54
Methodtest_all_pairs_reference_starting_events
(self)
lib/crewai/tests/events/test_event_context.py:101
Methodtest_all_platform_tool_refs_resolve_in_one_call_where_the_first_was
( self, monkeypatch )
lib/crewai/tests/project/test_json_loader.py:553
Methodtest_all_providers_work_without_interceptor
Test that all providers work normally without interceptor.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:290
Methodtest_all_sampling_params_default_to_none
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:99
Methodtest_allof_merges_properties
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:475
Methodtest_allow_period_rejects_digit_led_schema
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:264
Methodtest_allow_period_rejects_digit_led_table
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:269
Methodtest_allowlist_is_ignored_while_force_safe_paths_is_set
(self, monkeypatch)
lib/crewai-tools/tests/utilities/test_safe_path.py:216
Methodtest_allows_absolute_path_inside_base
Allow absolute path that's inside base_dir.
lib/crewai-tools/tests/utilities/test_safe_path.py:46
Functiontest_allows_benign_archive
An ordinary archive of regular files extracts correctly.
lib/cli/tests/skills/test_safe_extract.py:191
Methodtest_allows_entry_in_any_common_host_format
(self, monkeypatch, entry)
lib/crewai-tools/tests/utilities/test_safe_path.py:188
Methodtest_allows_private_address_for_exact_configured_hostname
(self, monkeypatch)
lib/crewai-tools/tests/utilities/test_safe_path.py:163
Methodtest_allows_public_addresses
(self, ip)
lib/crewai-tools/tests/utilities/test_safe_path.py:348
Methodtest_already_finalized_batch_reports_nothing
Finalization is idempotent; the signal must not double-count.
lib/crewai/tests/tracing/test_tracing.py:1664
Methodtest_also_counts_the_deployment_as_a_feature
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:60
← previousnext →11,601–11,700 of 20,757, ranked by callers