MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Functiontest_json_wizard_shows_interpolation_hint
(capsys)
lib/cli/tests/test_create_crew.py:449
Functiontest_json_wizard_task_attribute_prompts_are_compact
(monkeypatch)
lib/cli/tests/test_create_crew.py:1221
Functiontest_json_wizard_task_reprompts_on_cancelled_agent_pick
Esc on the agent picker must reprompt, not silently assign agent 0.
lib/cli/tests/test_create_crew.py:1476
Functiontest_json_wizard_text_prompt_uses_full_prompt_for_readline
(monkeypatch)
lib/cli/tests/test_create_crew.py:460
Functiontest_json_wizard_tool_picker_collapses_categories_by_default
(monkeypatch)
lib/cli/tests/test_create_crew.py:517
Functiontest_json_wizard_tool_picker_expands_one_category_at_a_time
(monkeypatch)
lib/cli/tests/test_create_crew.py:540
Functiontest_json_wizard_tool_picker_lists_builtin_tools_across_categories
(monkeypatch)
lib/cli/tests/test_create_crew.py:614
Functiontest_json_wizard_tool_picker_preserves_selection_across_renders
(monkeypatch)
lib/cli/tests/test_create_crew.py:590
Functiontest_json_wizard_tool_picker_prioritizes_common_tools
(monkeypatch)
lib/cli/tests/test_create_crew.py:477
Functiontest_jsonl_strings_may_contain_unicode_line_separators
(tmp_path)
lib/crewai/tests/test_jev_evaluation_runner.py:390
Methodtest_jupyter_keeps_live_panel
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:321
Functiontest_jwt_auth_llm_validation
Test that JWT token validation works correctly.
lib/crewai/tests/test_custom_llm.py:232
Methodtest_keep_n
(self)
lib/crewai/tests/test_checkpoint_cli.py:337
Methodtest_keep_n
(self)
lib/crewai/tests/test_checkpoint_cli.py:400
Methodtest_keeps_date
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:850
Methodtest_keeps_date_time
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:845
Methodtest_keeps_plain_not_found_for_real_typos
(self)
lib/crewai/tests/llms/openai/test_responses_only_models.py:203
Functiontest_key
(researcher, writer)
lib/crewai/tests/test_crew.py:4007
Functiontest_key
()
lib/crewai/tests/test_task.py:1086
Functiontest_key
()
lib/crewai/tests/agents/agent_builder/test_base_agent.py:41
Methodtest_key_error_for_invalid_name
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:52
Functiontest_key_set_after_construction_is_picked_up
An LLM built at import time with the placeholder works once the key is set.
lib/crewai/tests/llms/test_missing_api_key.py:193
Methodtest_key_set_after_construction_is_picked_up
(self)
lib/crewai/tests/llms/test_missing_api_key.py:345
Functiontest_key_with_interpolated_inputs
()
lib/crewai/tests/test_crew.py:4033
Methodtest_keyless_provider_ignores_placeholder
Ollama needs no key, so the placeholder falls back to its default.
lib/crewai/tests/llms/test_missing_api_key.py:432
Methodtest_keys_method
Test keys() method for dict unpacking.
lib/crewai/tests/utilities/test_files.py:251
Functiontest_kickoff_async_basic_functionality_and_output
Tests the basic functionality and output of kickoff_async.
lib/crewai/tests/test_crew.py:1470
Functiontest_kickoff_async_orders_the_conversation_the_same_way
`kickoff_async` shares `_prepare_kickoff` and `_setup_messages`. Sharing is not the same as being covered: the async executor entry points re
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:309
Functiontest_kickoff_drains_agent_memory_saves_before_completion_event
Agents save through their own ``agent.memory`` when set; those pools must also be drained before CrewKickoffCompletedEvent.
lib/crewai/tests/test_crew.py:5139
Functiontest_kickoff_drains_pending_memory_saves_before_completion_event
Background memory saves must finish (and emit their completion events) before CrewKickoffCompletedEvent, otherwise listeners that tear down on
lib/crewai/tests/test_crew.py:5098
Methodtest_kickoff_emits_started_exactly_once
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:761
Functiontest_kickoff_flow_conversational_flow_in_a_terminal_opens_the_tui
( monkeypatch: pytest.MonkeyPatch, )
lib/cli/tests/test_kickoff_flow.py:125
Functiontest_kickoff_flow_conversational_flow_without_terminal_exits_with_guidance
( monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/test_kickoff_flow.py:108
Functiontest_kickoff_flow_falls_back_to_uv_when_no_conversational_flow
( monkeypatch, )
lib/cli/tests/test_kickoff_flow.py:69
Methodtest_kickoff_flushes_event_bus_before_returning
`kickoff_async` must drain pending LLMCallCompletedEvent handlers before detaching the listener — otherwise late handlers landing on t
lib/crewai/tests/test_flow_usage_metrics.py:308
Functiontest_kickoff_for_each_empty_input
Tests if kickoff_for_each handles an empty input list.
lib/crewai/tests/test_crew.py:1392
Functiontest_kickoff_for_each_error_handling
Tests error handling in kickoff_for_each when kickoff raises an error.
lib/crewai/tests/test_crew.py:1433
Functiontest_kickoff_for_each_invalid_input
Tests if kickoff_for_each raises TypeError for invalid input types.
lib/crewai/tests/test_crew.py:1412
Functiontest_kickoff_for_each_multiple_inputs
Tests if kickoff_for_each works with multiple inputs.
lib/crewai/tests/test_crew.py:1364
Functiontest_kickoff_for_each_single_input
Tests if kickoff_for_each works with a single input.
lib/crewai/tests/test_crew.py:1340
Methodtest_kickoff_for_each_streaming_from_docs
Test kickoff_for_each streaming example from documentation.
lib/crewai/tests/test_streaming_integration.py:146
Methodtest_kickoff_no_response_format_returns_raw_text
Test that kickoff without response_format returns plain text.
lib/crewai/tests/agents/test_agent_executor.py:1882
Methodtest_kickoff_output_sees_failures_recorded_on_the_agent
The LiteAgent under kickoff records against the owning Agent.
lib/crewai/tests/tools/test_tool_failure.py:789
Methodtest_kickoff_resets_between_runs
Agent.kickoff() goes through _prepare_kickoff, not task execution.
lib/crewai/tests/tools/test_tool_failure.py:771
Functiontest_kickoff_response_format_gets_the_structured_answer
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:348
Methodtest_kickoff_response_format_with_planning_and_tools
Test response_format with planning + tools (multi-step research). This is the key test for _synthesize_final_answer_from_todos: 1. Pl
lib/crewai/tests/agents/test_agent_executor.py:1831
Methodtest_kickoff_response_format_without_planning
Test that kickoff(response_format) returns structured output without planning.
lib/crewai/tests/agents/test_agent_executor.py:1802
Methodtest_kickoff_stamps_a_start_time
Kickoff records a start time; a terminal event consumes and clears it.
lib/crewai/tests/telemetry/test_crew_completed_span.py:143
Methodtest_kickoff_streaming_async_captures_chunks
Test that async streaming captures LLM chunks.
lib/crewai/tests/test_streaming.py:351
Methodtest_kickoff_streaming_async_result_available_after_iteration
Test that result is available after async iteration.
lib/crewai/tests/test_streaming.py:399
Methodtest_kickoff_streaming_async_returns_stream_session
Test that flow kickoff_async with stream=True returns AsyncStreamSession.
lib/crewai/tests/test_streaming.py:537
Methodtest_kickoff_streaming_async_returns_streaming_output
Test that kickoff_async with stream=True returns CrewStreamingOutput.
lib/crewai/tests/test_streaming.py:321
Methodtest_kickoff_streaming_captures_chunks
Test that streaming captures LLM chunks.
lib/crewai/tests/test_streaming.py:199
Methodtest_kickoff_streaming_handles_tool_calls
Test that streaming handles tool call chunks correctly.
lib/crewai/tests/test_streaming.py:267
Methodtest_kickoff_streaming_result_available_after_iteration
Test that result is available after iterating all chunks.
lib/crewai/tests/test_streaming.py:247
Methodtest_kickoff_streaming_returns_stream_session
Test that flow kickoff with stream=True returns StreamSession.
lib/crewai/tests/test_streaming.py:424
Methodtest_kickoff_streaming_returns_streaming_output
Test that kickoff with stream=True returns CrewStreamingOutput.
lib/crewai/tests/test_streaming.py:186
Functiontest_kickoff_survives_listing_failure
End-to-end: the whole save pipeline completes despite the listing failure.
lib/crewai/tests/memory/test_encoding_flow_analyze_fallback.py:76
Functiontest_knowledge_add_sources_integration
Test Knowledge.add_sources integrates properly with storage.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:146
Methodtest_knowledge_agent_embedder_config
Test agent embedder config from knowledge.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:300
Functiontest_knowledge_included_in_planning
Test that verifies knowledge sources are properly included in planning.
lib/crewai/tests/utilities/test_knowledge_planning.py:33
Functiontest_knowledge_query_returns_searchresult
Test that Knowledge.query returns SearchResult format.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:16
Functiontest_knowledge_query_with_empty_results
Test Knowledge.query with empty search results.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:60
Functiontest_knowledge_reset_integration
Test Knowledge.reset integrates with storage.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:164
Functiontest_knowledge_reset_without_storage
Test Knowledge.reset raises error when storage is None.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:180
Functiontest_knowledge_storage_collection_not_found
Test KnowledgeStorage handles missing collections.
lib/crewai/tests/rag/test_error_handling.py:38
Functiontest_knowledge_storage_connection_failure
Test KnowledgeStorage handles RAG client connection failures.
lib/crewai/tests/rag/test_error_handling.py:14
Functiontest_knowledge_storage_embedding_dimension_mismatch_detailed
Test detailed handling of embedding dimension mismatch errors.
lib/crewai/tests/rag/test_error_handling.py:146
Functiontest_knowledge_storage_exception_handling
Test Knowledge handles storage exceptions gracefully.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:130
Functiontest_knowledge_storage_invalid_embedding_config
Test KnowledgeStorage handles invalid embedding configurations.
lib/crewai/tests/rag/test_error_handling.py:53
Functiontest_knowledge_storage_malformed_search_results
Test KnowledgeStorage handles malformed search results.
lib/crewai/tests/rag/test_error_handling.py:100
Functiontest_knowledge_storage_network_interruption
Test KnowledgeStorage handles network interruptions during operations.
lib/crewai/tests/rag/test_error_handling.py:120
Functiontest_knowledge_storage_reset_collection_does_not_exist
Test KnowledgeStorage reset handles non-existent collections.
lib/crewai/tests/rag/test_error_handling.py:86
Functiontest_knowledge_storage_reset_readonly_database
Test KnowledgeStorage reset handles readonly database errors.
lib/crewai/tests/rag/test_error_handling.py:72
Functiontest_knowledge_storage_search_timeout
Test KnowledgeStorage handles search timeouts gracefully.
lib/crewai/tests/rag/test_error_handling.py:25
Functiontest_knowledge_storage_uses_rag_client
Test that KnowledgeStorage properly integrates with RAG client.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:14
Functiontest_known_agents_contains_no_pii_shaped_values
Every possible emitted value is a short, opaque identifier.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:394
Methodtest_lambda_in_class_body_returns_none
(self)
lib/crewai/tests/test_callback.py:85
Methodtest_lambda_returns_none
(self)
lib/crewai/tests/test_callback.py:72
Methodtest_lambda_warns_it_is_dropped
(self)
lib/crewai/tests/test_callback.py:152
Methodtest_lan_host_port_without_scheme
A LAN host:port without a scheme gets http:// prepended.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:140
Functiontest_lancedb_delete_count
(lancedb_path: Path)
lib/crewai/tests/memory/test_unified_memory.py:174
Functiontest_lancedb_list_records_exceeding_scan_cap
Test that LanceDBStorage.list_records returns true newest records even when table exceeds 50k rows.
lib/crewai/tests/memory/test_unified_memory.py:276
Functiontest_lancedb_list_records_order_and_pagination
Test that LanceDBStorage.list_records returns newest records first with correct pagination.
lib/crewai/tests/memory/test_unified_memory.py:201
Functiontest_lancedb_list_scopes_get_scope_info
(lancedb_path: Path)
lib/crewai/tests/memory/test_unified_memory.py:186
Functiontest_lancedb_matching_dim_still_works
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:128
Functiontest_lancedb_mixed_batch_mismatch_raises
A single save() batch with inconsistent dimensions must be rejected.
lib/crewai/tests/memory/test_dimension_mismatch.py:44
Functiontest_lancedb_mixed_batch_on_fresh_store_raises
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:55
Functiontest_lancedb_reopened_store_detects_mismatch
The upgrade scenario: an old store reopened with a new embedder.
lib/crewai/tests/memory/test_dimension_mismatch.py:87
Functiontest_lancedb_save_mismatch_raises
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:28
Functiontest_lancedb_save_search
(lancedb_path: Path)
lib/crewai/tests/memory/test_unified_memory.py:150
Functiontest_lancedb_search_mismatch_raises
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:63
Functiontest_lancedb_update_mismatch_raises
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:73
Methodtest_large_file
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:60
Functiontest_last_raw_result_falls_back_only_until_recorded
()
lib/crewai/tests/tools/test_tool_usage.py:247
Methodtest_last_reasoning_items
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:274
Methodtest_last_response_id
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:258
Methodtest_last_response_id_none_for_completions
(self)
lib/crewai/tests/llms/azure/test_azure_responses.py:264
Methodtest_last_tool_failures_does_not_grow_across_kickoffs
(self)
lib/crewai/tests/tools/test_tool_failure.py:1624
Methodtest_last_tool_failures_returns_a_copy
(self)
lib/crewai/tests/tools/test_tool_failure.py:801
← previousnext →15,001–15,100 of 19,264, ranked by callers