Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
Function
test_basic_dependency
Test that handler with dependency runs after its dependency.
lib/crewai/tests/events/test_depends.py:19
Function
test_basic_deterministic_fingerprint
Test that deterministic fingerprints can be created with a seed.
lib/crewai/tests/security/test_deterministic_fingerprints.py:9
Method
test_basic_exception
Test creating basic pending exception.
lib/crewai/tests/test_async_human_feedback.py:153
Method
test_basic_feedback_collection
Test basic feedback collection without routing.
lib/crewai/tests/test_human_feedback_decorator.py:303
Function
test_basic_file_write
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:40
Method
test_basic_flow_streaming_from_docs
Test basic flow streaming example from documentation.
lib/crewai/tests/test_streaming_integration.py:180
Method
test_basic_join
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:94
Method
test_basic_ref_resolution
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:762
Function
test_basic_serialization
(test_input, expected)
lib/crewai/tests/utilities/test_serialization.py:49
Method
test_basic_text
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:162
Method
test_basic_text_file
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:30
Function
test_basic_usage_examples
Test the basic usage examples from the documentation.
lib/crewai/tests/security/test_examples.py:7
Method
test_basic_variable_interpolation
Test basic variable interpolation works correctly.
lib/crewai/tests/utilities/test_string_utils.py:10
Function
test_batch_consolidation_deduplicates_against_storage
Pre-insert a record, then remember_many with same + new content.
lib/crewai/tests/memory/test_unified_memory.py:1046
Function
test_batch_embed_single_call
remember_many with 3 items should call the embedder exactly once with all 3 texts.
lib/crewai/tests/memory/test_unified_memory.py:964
Method
test_batch_manager_finalizes_batch_clears_buffer
Test that batch manager properly finalizes batch and clears buffer
lib/crewai/tests/tracing/test_tracing.py:249
Function
test_batch_manager_starts_clean
No earlier test may leave batch state on the shared singleton. Regression: `test_nested_agent_executor_flow_does_not_finalize_parent_batch` s
lib/crewai/tests/tracing/test_trace_listener_isolation.py:27
Method
test_batch_save_keeps_records_distinct
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:117
Method
test_batch_that_fell_back_to_ephemeral_reports_ephemeral
A 401 at init flips the batch to ephemeral; finalize must agree.
lib/crewai/tests/tracing/test_tracing.py:1665
Method
test_batch_without_id_reports_nothing
(self)
lib/crewai/tests/tracing/test_tracing.py:1639
Function
test_bedrock_acall_falls_back_to_sync_call_without_aiobotocore
Async Bedrock calls remain usable when only the sync SDK is installed.
lib/crewai/tests/llms/bedrock/test_bedrock.py:217
Function
test_bedrock_accepts_litellm_compatible_guardrail_kwarg
The LiteLLM guardrail kwarg must reach the native Converse request.
lib/crewai/tests/llms/bedrock/test_bedrock.py:487
Function
test_bedrock_accepts_litellm_compatible_region_kwarg
The LiteLLM region kwarg must configure the native SDK session.
lib/crewai/tests/llms/bedrock/test_bedrock.py:474
Function
test_bedrock_accepts_litellm_kwargs_from_additional_params
LiteLLM aliases moved to additional params still configure Bedrock.
lib/crewai/tests/llms/bedrock/test_bedrock.py:506
Function
test_bedrock_agent_kickoff_structured_output_with_tools
Test that agent kickoff returns structured output after using tools. This tests post-tool-call structured output handling for Bedrock models.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1210
Function
test_bedrock_agent_kickoff_structured_output_without_tools
Test that agent kickoff returns structured output without tools. This tests native structured output handling for Bedrock models.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1174
Method
test_bedrock_agent_kickoff_with_tools_mocked
Test Bedrock agent kickoff with mocked LLM call.
lib/crewai/tests/agents/test_native_tool_calling.py:824
Method
test_bedrock_anthropic_style_still_recognized
(self)
lib/crewai/tests/utilities/test_agent_utils.py:800
Method
test_bedrock_anthropic_style_still_uses_input
(self)
lib/crewai/tests/utilities/test_agent_utils.py:830
Function
test_bedrock_async_basic_call
Test basic async call with Bedrock.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:18
Function
test_bedrock_async_conversation
Test async call with conversation history.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:77
Function
test_bedrock_async_multiple_calls
Test making multiple async calls in sequence.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:96
Function
test_bedrock_async_throttling_retries_without_context_recovery
Async Bedrock token throttles use the same client-level retry behavior.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1049
Function
test_bedrock_async_with_max_tokens
Test async call with max_tokens parameter.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:45
Function
test_bedrock_async_with_parameters
Test async call with multiple parameters.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:112
Function
test_bedrock_async_with_system_message
Test async call with system message.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:59
Function
test_bedrock_async_with_temperature
Test async call with temperature parameter.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:32
Function
test_bedrock_aws_credentials_configuration
Test that AWS credentials configuration works properly
lib/crewai/tests/llms/bedrock/test_bedrock.py:430
Function
test_bedrock_cached_token_alternate_key
Test that the alternate key cacheReadInputTokens also works.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1486
Function
test_bedrock_cached_token_tracking
Test that cached tokens (cacheReadInputTokenCount) are tracked for Bedrock.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1457
Function
test_bedrock_claude_sonnet_46_uses_its_specific_context_window
()
lib/crewai/tests/llms/bedrock/test_bedrock.py:659
Function
test_bedrock_claude_uses_its_documented_context_window
()
lib/crewai/tests/llms/test_context_window.py:83
Function
test_bedrock_client_error_handling
Test that Bedrock properly handles various AWS client errors
lib/crewai/tests/llms/bedrock/test_bedrock.py:967
Function
test_bedrock_completion_call
Test that BedrockCompletion call method works
lib/crewai/tests/llms/bedrock/test_bedrock.py:203
Function
test_bedrock_completion_call_arguments
Test that BedrockCompletion.call is invoked with correct arguments
lib/crewai/tests/llms/bedrock/test_bedrock.py:284
Function
test_bedrock_completion_called_during_crew_execution
Test that BedrockCompletion.call is actually invoked when running a crew
lib/crewai/tests/llms/bedrock/test_bedrock.py:255
Function
test_bedrock_completion_initialization_parameters
Test that BedrockCompletion is initialized with correct parameters
lib/crewai/tests/llms/bedrock/test_bedrock.py:162
Function
test_bedrock_completion_is_used_when_bedrock_provider
Test that BedrockCompletion from completion.py is used when LLM uses provider 'bedrock'
lib/crewai/tests/llms/bedrock/test_bedrock.py:128
Function
test_bedrock_completion_with_tools
Test that BedrockCompletion.call is invoked with tools when agent has tools
lib/crewai/tests/llms/bedrock/test_bedrock.py:365
Method
test_bedrock_constraints
Test Bedrock constraints are properly defined.
lib/crewai-files/tests/processing/test_constraints.py:171
Function
test_bedrock_context_window_size
Test that Bedrock models return correct context window sizes
lib/crewai/tests/llms/bedrock/test_bedrock.py:646
Function
test_bedrock_does_not_send_litellm_role_kwarg_to_converse
AWS role configuration is not a Bedrock Converse request parameter.
lib/crewai/tests/llms/bedrock/test_bedrock.py:562
Function
test_bedrock_environment_variable_credentials
Pass AWS credentials and region from the environment to boto3.
lib/crewai/tests/llms/bedrock/test_bedrock.py:738
Method
test_bedrock_error_message_is_clear
Test that Bedrock error message clearly states lack of support.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:211
Function
test_bedrock_groups_three_tool_results
Consecutive tool results should be grouped into one Bedrock user message.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1251
Function
test_bedrock_handles_cohere_conversation_requirements
Test that Bedrock properly handles Cohere model's requirement for user message at end
lib/crewai/tests/llms/bedrock/test_bedrock.py:949
Function
test_bedrock_inference_config
Test that inference config is properly prepared
lib/crewai/tests/llms/bedrock/test_bedrock.py:593
Function
test_bedrock_input_token_count_forwards_converse_payload
Counting preserves the Converse system, message, and tool payload.
lib/crewai/tests/llms/bedrock/test_bedrock.py:800
Function
test_bedrock_input_token_count_uses_character_fallback_for_transport_errors
VCR transport failures do not prevent proactive context preflight.
lib/crewai/tests/llms/bedrock/test_bedrock.py:869
Function
test_bedrock_input_token_count_uses_character_fallback_for_unsupported_models
Runtime models without CountTokens report the Mantle requirement.
lib/crewai/tests/llms/bedrock/test_bedrock.py:848
Method
test_bedrock_llm_accepts_interceptor_parameter
Test that Bedrock LLM raises NotImplementedError with interceptor.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:99
Function
test_bedrock_message_formatting
Test that messages are properly formatted for Bedrock Converse API
lib/crewai/tests/llms/bedrock/test_bedrock.py:667
Function
test_bedrock_model_capabilities
Test that model capabilities are correctly identified
lib/crewai/tests/llms/bedrock/test_bedrock.py:577
Function
test_bedrock_model_detection
Test that various Bedrock model formats are properly detected
lib/crewai/tests/llms/bedrock/test_bedrock.py:620
Function
test_bedrock_no_cache_tokens_defaults_to_zero
Test that missing cache token keys default to zero.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1511
Function
test_bedrock_openai_models_do_not_send_stop_sequences
Test that OpenAI models on Bedrock get stop words client-side, not as stopSequences.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1141
Method
test_bedrock_parallel_native_tool_calling_test_agent_kickoff
( self, parallel_tools: list[BaseTool] )
lib/crewai/tests/agents/test_native_tool_calling.py:877
Method
test_bedrock_parallel_native_tool_calling_test_crew
( self, parallel_tools: list[BaseTool] )
lib/crewai/tests/agents/test_native_tool_calling.py:854
Function
test_bedrock_parallel_tool_results_grouped
Regression test for issue #4749. When an assistant message contains multiple parallel tool calls, Bedrock requires all corresponding tool res
lib/crewai/tests/llms/bedrock/test_bedrock.py:1316
Function
test_bedrock_prefers_native_kwargs_over_litellm_aliases
Explicit native configuration wins when both forms are provided.
lib/crewai/tests/llms/bedrock/test_bedrock.py:530
Function
test_bedrock_raises_error_when_model_not_found
Test that BedrockCompletion raises appropriate error when model not found
lib/crewai/tests/llms/bedrock/test_bedrock.py:410
Method
test_bedrock_raises_not_implemented_on_initialization
Test that Bedrock raises NotImplementedError when interceptor is used.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:117
Function
test_bedrock_regional_aliases_preserve_the_base_model_context_window
()
lib/crewai/tests/llms/test_context_window.py:93
Function
test_bedrock_single_tool_result_still_works
Ensure single tool call still produces a single-block user message.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1375
Function
test_bedrock_specific_parameters
Test Bedrock-specific parameters like stop_sequences and streaming
lib/crewai/tests/llms/bedrock/test_bedrock.py:185
Function
test_bedrock_stop_sequences_sent_to_api
Test that stop_sequences are properly sent to the Bedrock API.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1102
Function
test_bedrock_stop_sequences_sync
Test that stop and stop_sequences attributes stay synchronized.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1085
Function
test_bedrock_streaming_parameter
Test that streaming parameter is properly handled
lib/crewai/tests/llms/bedrock/test_bedrock.py:696
Function
test_bedrock_supports_stop_words
Test that Bedrock models support stop sequences
lib/crewai/tests/llms/bedrock/test_bedrock.py:638
Function
test_bedrock_throttling_retries_without_context_recovery
Bedrock token throttles retry instead of being treated as context overflow.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1018
Function
test_bedrock_token_usage_tracking
Test that token usage is properly tracked for Bedrock responses
lib/crewai/tests/llms/bedrock/test_bedrock.py:766
Function
test_bedrock_tool_conversion
Test that tools are properly converted to Bedrock Converse format
lib/crewai/tests/llms/bedrock/test_bedrock.py:707
Function
test_bedrock_tool_results_not_merged_across_assistant_messages
Tool results from different assistant turns must NOT be merged.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1407
Function
test_bedrock_tool_use_conversation_flow
Test that the Bedrock completion properly handles tool use conversation flow
lib/crewai/tests/llms/bedrock/test_bedrock.py:882
Method
test_bedrock_without_interceptor_works
Test that Bedrock LLM works without interceptor.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:134
Method
test_before_hook_blocks_tool_execution_in_crew
Test that returning False from before hook blocks tool execution.
lib/crewai/tests/hooks/test_tool_hooks.py:797
Method
test_before_hook_can_allow_execution
Test that before hooks can explicitly allow execution.
lib/crewai/tests/hooks/test_tool_hooks.py:175
Method
test_before_hook_can_block_execution
Test that before hooks can block tool execution.
lib/crewai/tests/hooks/test_tool_hooks.py:158
Method
test_before_hook_can_modify_input
Test that before hooks can modify tool input in-place.
lib/crewai/tests/hooks/test_tool_hooks.py:190
Method
test_before_hook_can_modify_messages
Test that before hooks can modify messages in-place.
lib/crewai/tests/hooks/test_llm_hooks.py:120
Function
test_before_kickoff_callback
()
lib/crewai/tests/test_crew.py:4791
Function
test_before_kickoff_modification
()
lib/crewai/tests/test_project.py:275
Function
test_before_kickoff_with_none_input
()
lib/crewai/tests/test_project.py:294
Function
test_before_kickoff_without_inputs
()
lib/crewai/tests/test_crew.py:4844
Method
test_before_llm_call_decorator_registers_hook
Test that @before_llm_call decorator registers the hook.
lib/crewai/tests/hooks/test_decorators.py:52
Method
test_before_llm_call_sets_attribute
Test that decorator sets is_before_llm_call_hook attribute.
lib/crewai/tests/hooks/test_decorators.py:286
Method
test_before_llm_call_with_agent_filter
Test that agent filter works correctly.
lib/crewai/tests/hooks/test_decorators.py:96
Method
test_before_tool_call_decorator_registers_hook
Test that @before_tool_call decorator registers the hook.
lib/crewai/tests/hooks/test_decorators.py:131
Method
test_before_tool_call_sets_attributes_with_filters
Test that decorator with filters sets filter attributes.
lib/crewai/tests/hooks/test_decorators.py:296
Method
test_before_tool_call_tool_filter_sanitizes_names
Tool filter should auto-sanitize names so users can pass BaseTool.name directly.
lib/crewai/tests/hooks/test_decorators.py:183
← previous
next →
11,701–11,800 of 19,663, ranked by callers