MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Methodtest_bare_string_is_wrapped_in_list
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:119
Functiontest_base_agent_adapter_fails_without_required_methods
Test that BaseAgentAdapter fails without required methods.
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:125
Functiontest_base_agent_adapter_inherits_base_agent
Test that BaseAgentAdapter inherits from BaseAgent.
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:116
Functiontest_base_agent_adapter_initialization
Test initialization of the concrete agent adapter.
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:67
Functiontest_base_agent_adapter_initialization_with_config
Test initialization with agent_config.
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:79
Methodtest_base_defaults_to_max_tokens
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:293
Functiontest_base_dir_anchors_relative_directories
With base_dir set, a relative (or omitted) directory resolves under it.
lib/crewai-tools/tests/tools/test_file_writer_tool.py:287
Functiontest_base_dir_still_blocks_escapes
base_dir moves the sandbox; it does not remove it.
lib/crewai-tools/tests/file_read_tool_test.py:377
Functiontest_base_dir_still_blocks_escapes
base_dir moves the sandbox; it does not remove it.
lib/crewai-tools/tests/tools/test_file_writer_tool.py:339
Functiontest_base_dir_survives_a_serialization_round_trip
(temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:325
Functiontest_base_dir_widens_the_sandbox
base_dir lets a developer authorize reads outside the working directory.
lib/crewai-tools/tests/file_read_tool_test.py:362
Functiontest_base_dir_widens_the_sandbox
base_dir lets a developer authorize writes outside the working directory.
lib/crewai-tools/tests/tools/test_file_writer_tool.py:270
Methodtest_base_format_text_content
Test base text formatting uses OpenAI/Anthropic style.
lib/crewai/tests/llms/test_multimodal.py:548
Functiontest_base_llm_acall_is_automatically_wrapped
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/test_retry.py:137
Functiontest_base_llm_call_is_automatically_wrapped
(monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/llms/test_retry.py:125
Functiontest_base_llm_input_token_count_estimates_text_characters
Custom providers have a conservative fallback without native support.
lib/crewai/tests/test_custom_llm.py:144
Functiontest_base_llm_summarize_messages_compacts_history
BaseLLM owns the context-compaction behavior.
lib/crewai/tests/test_custom_llm.py:152
Methodtest_base_supports_multimodal_false
Test base implementation returns False.
lib/crewai/tests/llms/test_multimodal.py:537
Methodtest_base_tool_does_not_infer_non_pydantic_return_annotation
(self)
lib/crewai/tests/tools/test_base_tool.py:475
Functiontest_base_tool_fields_excluded_from_init_params
BaseTool internal fields (including computed_field like tool_type) must never appear in init_params_schema. Studio reads this schema to render
lib/crewai-tools/tests/test_generate_tool_specs.py:208
Functiontest_base_tool_passes_cache_function_to_structured_tool
Test that BaseTool.to_structured_tool propagates cache_function.
lib/crewai/tests/tools/test_structured_tool.py:58
Methodtest_base_tools_return_raw_result_and_json_agent_text
( self, tool_cls: type[BaseTool], expected_raw: object, expected_agent_payload
lib/crewai/tests/tools/test_base_tool.py:460
Methodtest_base_url
(self)
lib/cli/tests/authentication/providers/test_entra_id.py:140
Methodtest_base_url
(self)
lib/crewai/tests/cli/authentication/providers/test_entra_id.py:140
Methodtest_base_url_from_config
Test base URL is set from provider config.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:207
Methodtest_base_url_from_env
Test base URL is read from environment variable.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:215
Methodtest_basellm_object_model_string_survives_roundtrip
Test that when llm is a BaseLLM object, its model string is stored in context so that outcome collapsing works after async pause/resume.
lib/crewai/tests/test_async_human_feedback.py:1166
Methodtest_basic_crew_streaming_from_docs
Test basic streaming example from documentation.
lib/crewai/tests/test_streaming_integration.py:37
Functiontest_basic_dependency
Test that handler with dependency runs after its dependency.
lib/crewai/tests/events/test_depends.py:19
Functiontest_basic_deterministic_fingerprint
Test that deterministic fingerprints can be created with a seed.
lib/crewai/tests/security/test_deterministic_fingerprints.py:9
Methodtest_basic_exception
Test creating basic pending exception.
lib/crewai/tests/test_async_human_feedback.py:153
Methodtest_basic_feedback_collection
Test basic feedback collection without routing.
lib/crewai/tests/test_human_feedback_decorator.py:303
Functiontest_basic_file_write
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:40
Methodtest_basic_flow_streaming_from_docs
Test basic flow streaming example from documentation.
lib/crewai/tests/test_streaming_integration.py:180
Methodtest_basic_join
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:94
Methodtest_basic_ref_resolution
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:810
Functiontest_basic_serialization
(test_input, expected)
lib/crewai/tests/utilities/test_serialization.py:49
Methodtest_basic_text
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:162
Methodtest_basic_text_file
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:30
Functiontest_basic_usage_examples
Test the basic usage examples from the documentation.
lib/crewai/tests/security/test_examples.py:7
Methodtest_basic_variable_interpolation
Test basic variable interpolation works correctly.
lib/crewai/tests/utilities/test_string_utils.py:10
Functiontest_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
Functiontest_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
Methodtest_batch_manager_finalizes_batch_clears_buffer
Test that batch manager properly finalizes batch and clears buffer
lib/crewai/tests/tracing/test_tracing.py:249
Functiontest_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
Methodtest_batch_save_keeps_records_distinct
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:117
Methodtest_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
Methodtest_batch_without_id_reports_nothing
(self)
lib/crewai/tests/tracing/test_tracing.py:1639
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_bedrock_agent_kickoff_with_tools_mocked
Test Bedrock agent kickoff with mocked LLM call.
lib/crewai/tests/agents/test_native_tool_calling.py:824
Methodtest_bedrock_anthropic_style_still_recognized
(self)
lib/crewai/tests/utilities/test_agent_utils.py:821
Methodtest_bedrock_anthropic_style_still_uses_input
(self)
lib/crewai/tests/utilities/test_agent_utils.py:851
Functiontest_bedrock_async_basic_call
Test basic async call with Bedrock.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:18
Functiontest_bedrock_async_conversation
Test async call with conversation history.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:77
Functiontest_bedrock_async_multiple_calls
Test making multiple async calls in sequence.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:96
Functiontest_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
Functiontest_bedrock_async_with_max_tokens
Test async call with max_tokens parameter.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:45
Functiontest_bedrock_async_with_parameters
Test async call with multiple parameters.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:112
Functiontest_bedrock_async_with_system_message
Test async call with system message.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:59
Functiontest_bedrock_async_with_temperature
Test async call with temperature parameter.
lib/crewai/tests/llms/bedrock/test_bedrock_async.py:32
Functiontest_bedrock_aws_credentials_configuration
Test that AWS credentials configuration works properly
lib/crewai/tests/llms/bedrock/test_bedrock.py:430
Functiontest_bedrock_cached_token_alternate_key
Test that the alternate key cacheReadInputTokens also works.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1486
Functiontest_bedrock_cached_token_tracking
Test that cached tokens (cacheReadInputTokenCount) are tracked for Bedrock.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1457
Functiontest_bedrock_claude_sonnet_46_uses_its_specific_context_window
()
lib/crewai/tests/llms/bedrock/test_bedrock.py:659
Functiontest_bedrock_claude_uses_its_documented_context_window
()
lib/crewai/tests/llms/test_context_window.py:83
Functiontest_bedrock_client_error_handling
Test that Bedrock properly handles various AWS client errors
lib/crewai/tests/llms/bedrock/test_bedrock.py:967
Functiontest_bedrock_completion_call
Test that BedrockCompletion call method works
lib/crewai/tests/llms/bedrock/test_bedrock.py:203
Functiontest_bedrock_completion_call_arguments
Test that BedrockCompletion.call is invoked with correct arguments
lib/crewai/tests/llms/bedrock/test_bedrock.py:284
Functiontest_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
Functiontest_bedrock_completion_initialization_parameters
Test that BedrockCompletion is initialized with correct parameters
lib/crewai/tests/llms/bedrock/test_bedrock.py:162
Functiontest_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
Functiontest_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
Methodtest_bedrock_constraints
Test Bedrock constraints are properly defined.
lib/crewai-files/tests/processing/test_constraints.py:171
Functiontest_bedrock_context_window_size
Test that Bedrock models return correct context window sizes
lib/crewai/tests/llms/bedrock/test_bedrock.py:646
Functiontest_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
Functiontest_bedrock_environment_variable_credentials
Pass AWS credentials and region from the environment to boto3.
lib/crewai/tests/llms/bedrock/test_bedrock.py:738
Methodtest_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
Functiontest_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
Functiontest_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
Functiontest_bedrock_inference_config
Test that inference config is properly prepared
lib/crewai/tests/llms/bedrock/test_bedrock.py:593
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_bedrock_llm_accepts_interceptor_parameter
Test that Bedrock LLM raises NotImplementedError with interceptor.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:99
Functiontest_bedrock_message_formatting
Test that messages are properly formatted for Bedrock Converse API
lib/crewai/tests/llms/bedrock/test_bedrock.py:667
Functiontest_bedrock_model_capabilities
Test that model capabilities are correctly identified
lib/crewai/tests/llms/bedrock/test_bedrock.py:577
Functiontest_bedrock_model_detection
Test that various Bedrock model formats are properly detected
lib/crewai/tests/llms/bedrock/test_bedrock.py:620
Functiontest_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
Functiontest_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
Methodtest_bedrock_parallel_native_tool_calling_test_agent_kickoff
( self, parallel_tools: list[BaseTool] )
lib/crewai/tests/agents/test_native_tool_calling.py:877
Methodtest_bedrock_parallel_native_tool_calling_test_crew
( self, parallel_tools: list[BaseTool] )
lib/crewai/tests/agents/test_native_tool_calling.py:854
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_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
← previousnext →11,701–11,800 of 19,735, ranked by callers