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
Method
test_atomic_create_existing_file
Test atomic create fails for existing file.
lib/cli/tests/test_token_manager.py:180
Method
test_atomic_create_existing_file
Test atomic create fails for existing file.
lib/crewai/tests/cli/test_token_manager.py:176
Method
test_atomic_create_new_file
Test atomic create succeeds for new file.
lib/cli/tests/test_token_manager.py:164
Method
test_atomic_create_new_file
Test atomic create succeeds for new file.
lib/crewai/tests/cli/test_token_manager.py:160
Method
test_atomic_write_new_file
Test atomic write creates new file.
lib/cli/tests/test_token_manager.py:196
Method
test_atomic_write_new_file
Test atomic write creates new file.
lib/crewai/tests/cli/test_token_manager.py:192
Method
test_atomic_write_no_temp_file_on_success
Test that temp file is cleaned up after successful write.
lib/cli/tests/test_token_manager.py:226
Method
test_atomic_write_no_temp_file_on_success
Test that temp file is cleaned up after successful write.
lib/crewai/tests/cli/test_token_manager.py:222
Method
test_atomic_write_overwrites
Test atomic write overwrites existing file.
lib/cli/tests/test_token_manager.py:211
Method
test_atomic_write_overwrites
Test atomic write overwrites existing file.
lib/crewai/tests/cli/test_token_manager.py:207
Method
test_attempt_mcp_discovery_raises_auth_for_mixed_exception_group
(self)
lib/crewai/tests/mcp/test_tool_resolver_auth.py:141
Method
test_attempt_mcp_discovery_raises_authentication_failure_for_401
(self)
lib/crewai/tests/mcp/test_tool_resolver_auth.py:127
Function
test_audio_bytes
Load test audio bytes.
lib/crewai/tests/llms/test_multimodal_integration.py:53
Method
test_audio_constraints_creation
Test creating audio constraints.
lib/crewai-files/tests/processing/test_constraints.py:85
Method
test_audio_file
Test agent can process an audio file.
lib/crewai/tests/test_agent_multimodal.py:312
Method
test_audio_file
Test crew can process an audio file.
lib/crewai/tests/test_crew_multimodal.py:267
Method
test_audio_file_creation
Test AudioFile creation.
lib/crewai/tests/utilities/test_files.py:221
Method
test_audio_gemini
Test audio file with Gemini.
lib/crewai/tests/test_agent_multimodal.py:407
Method
test_audio_gemini
Test audio file with Gemini.
lib/crewai/tests/test_crew_multimodal.py:369
Method
test_audio_with_anthropic_uses_tool
Test audio with Anthropic (no audio support) uses read_file tool.
lib/crewai/tests/test_crew_multimodal.py:404
Function
test_aupload_creates_session_when_none_injected
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-files/tests/test_bedrock_async_client.py:90
Function
test_aupload_uses_injected_async_session
()
lib/crewai-files/tests/test_bedrock_async_client.py:68
Function
test_auth_error_raises_immediately
A 401 with SUBSCRIPTION_TOKEN_INVALID is not retried.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:516
Method
test_auth_interceptor_adds_headers
Test that auth interceptor adds custom headers to requests.
lib/crewai/tests/llms/hooks/test_openai_interceptor.py:224
Method
test_auth_interceptor_with_openai
Test that auth interceptor can be used with OpenAI LLM.
lib/crewai/tests/llms/hooks/test_openai_interceptor.py:215
Method
test_auth_interceptor_with_real_call
Test that auth interceptor works with real OpenAI API call.
lib/crewai/tests/llms/hooks/test_openai_interceptor.py:237
Method
test_authenticated_batch_reports_authenticated_sent
(self)
lib/crewai/tests/tracing/test_tracing.py:1628
Function
test_authenticated_spans_go_directly_to_collector
(collector, credential)
lib/crewai/tests/telemetry/test_session_trace_export.py:391
Method
test_author_supplied_entry_is_not_overridden
(self)
lib/crewai/tests/test_flow_conversation.py:3382
Function
test_authorization_header_construction
(tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:167
Function
test_authorization_header_with_org_id
(tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:176
Method
test_auto_detect_csv_file
Test auto-detection of .csv file type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:409
Method
test_auto_detect_directory
Test auto-detection of directory type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:433
Method
test_auto_detect_json_file
Test auto-detection of .json file type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:421
Method
test_auto_detect_nonexistent_file_raises_error
Test that auto-detection raises FileNotFoundError for missing files.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:391
Method
test_auto_detect_raw_text
Test auto-detection of raw text (non-file content).
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:444
Method
test_auto_detect_txt_file
Test auto-detection of .txt file type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:396
Method
test_auto_detected_text_url
(self, url: str, content: str)
lib/crewai-tools/tests/rag/test_text_loaders.py:113
Method
test_auto_mode_optimizes_image_over_image_limit
Test an image over 3.75 MB is optimized instead of sent as-is.
lib/crewai-files/tests/processing/test_processor.py:316
Method
test_auto_persistence_when_none_provided
Test that persistence is auto-created when HumanFeedbackPending is raised.
lib/crewai/tests/test_async_human_feedback.py:1009
Function
test_automatic_checkpoint_and_prune
(tmp_path, features)
lib/crewai/tests/telemetry/test_checkpoint_telemetry.py:62
Method
test_awaits_an_async_client
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/skills/test_registry.py:370
Method
test_awaits_an_async_response
(self, inside_loop: bool)
lib/crewai/tests/utilities/test_agent_utils.py:1170
Function
test_azure_aclose_is_noop_when_uninitialized
`aclose` (and `async with`) on an uninstantiated-client LLM must be a harmless no-op, not force lazy construction that then raises for missing
lib/crewai/tests/llms/azure/test_azure.py:406
Function
test_azure_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 Azure OpenAI mo
lib/crewai/tests/llms/azure/test_azure.py:1327
Function
test_azure_agent_kickoff_structured_output_without_tools
Test that agent kickoff returns structured output without tools. This tests native structured output handling for Azure OpenAI models.
lib/crewai/tests/llms/azure/test_azure.py:1291
Method
test_azure_agent_kickoff_with_tools_mocked
Test Azure agent kickoff with mocked LLM call.
lib/crewai/tests/agents/test_native_tool_calling.py:718
Method
test_azure_agent_with_native_tool_calling
Test Azure agent can use native tool calling.
lib/crewai/tests/agents/test_native_tool_calling.py:691
Function
test_azure_api_key_configuration
Test that API key configuration works from AZURE_API_KEY environment variable
lib/crewai/tests/llms/azure/test_azure.py:475
Function
test_azure_api_version_default
Test that Azure API version defaults correctly
lib/crewai/tests/llms/azure/test_azure.py:847
Function
test_azure_api_version_properly_passed
Test that api_version is properly passed to the client
lib/crewai/tests/llms/azure/test_azure.py:1064
Function
test_azure_async_conversation
Test async call with conversation history.
lib/crewai/tests/llms/azure/test_azure_async.py:101
Function
test_azure_async_multiple_calls
Test making multiple async calls in sequence.
lib/crewai/tests/llms/azure/test_azure_async.py:24
Function
test_azure_async_non_streaming
Test basic async non-streaming call.
lib/crewai/tests/llms/azure/test_azure_async.py:11
Function
test_azure_async_streaming_returns_usage_metrics
Test that Azure async streaming calls return proper token usage metrics.
lib/crewai/tests/llms/azure/test_azure_async.py:119
Function
test_azure_async_with_max_tokens
Test async call with max_tokens parameter.
lib/crewai/tests/llms/azure/test_azure_async.py:51
Function
test_azure_async_with_parameters
Test async call with multiple parameters.
lib/crewai/tests/llms/azure/test_azure_async.py:81
Function
test_azure_async_with_system_message
Test async call with system message.
lib/crewai/tests/llms/azure/test_azure_async.py:64
Function
test_azure_async_with_temperature
Test async call with temperature parameter.
lib/crewai/tests/llms/azure/test_azure_async.py:39
Function
test_azure_builds_native_function_with_azure_client
(azure_mock)
lib/crewai/tests/rag/embeddings/test_openai_compatible_providers.py:45
Function
test_azure_complete_params_include_optional_params
Test that optional parameters are included in completion params when set
lib/crewai/tests/llms/azure/test_azure.py:1106
Function
test_azure_completion_call
Test that AzureCompletion call method works
lib/crewai/tests/llms/azure/test_azure.py:187
Function
test_azure_completion_call_arguments
Test that AzureCompletion.call is invoked with correct arguments
lib/crewai/tests/llms/azure/test_azure.py:230
Function
test_azure_completion_called_during_crew_execution
Test that AzureCompletion.call is actually invoked when running a crew
lib/crewai/tests/llms/azure/test_azure.py:201
Function
test_azure_completion_initialization_parameters
Test that AzureCompletion is initialized with correct parameters
lib/crewai/tests/llms/azure/test_azure.py:142
Function
test_azure_completion_is_used_when_azure_openai_provider
Test that AzureCompletion is used when provider is 'azure_openai'
lib/crewai/tests/llms/azure/test_azure.py:39
Function
test_azure_completion_is_used_when_azure_provider
Test that AzureCompletion from completion.py is used when LLM uses provider 'azure'
lib/crewai/tests/llms/azure/test_azure.py:27
Function
test_azure_completion_module_is_imported
Test that the completion module is properly imported when using Azure provider
lib/crewai/tests/llms/azure/test_azure.py:102
Function
test_azure_completion_params_preparation
Test that completion parameters are properly prepared
lib/crewai/tests/llms/azure/test_azure.py:506
Function
test_azure_completion_params_preparation_with_drop_params
Test that completion parameters are properly prepared with drop paramaeters attribute respected
lib/crewai/tests/llms/azure/test_azure.py:1234
Function
test_azure_completion_with_tools
Test that AzureCompletion.call is invoked with tools when agent has tools
lib/crewai/tests/llms/azure/test_azure.py:312
Function
test_azure_context_window_size
Test that Azure models return correct context window sizes
lib/crewai/tests/llms/azure/test_azure.py:655
Function
test_azure_credential_scopes_constructor_overrides_env
A constructor-provided ``credential_scopes`` must win over the env var, matching how endpoint/api_key precedence works elsewhere in this provider.
lib/crewai/tests/llms/azure/test_azure.py:1564
Function
test_azure_credential_scopes_from_env_comma_separated
``AZURE_CREDENTIAL_SCOPES`` accepts a comma-separated list. Whitespace around entries is stripped; empty entries are dropped.
lib/crewai/tests/llms/azure/test_azure.py:1541
Function
test_azure_credential_scopes_in_to_config_dict
Config round-trips the scopes so an LLM rebuilt from `to_config_dict` keeps the same audience.
lib/crewai/tests/llms/azure/test_azure.py:1608
Function
test_azure_credential_scopes_lazy_env_read
When the LLM is built before ``AZURE_CREDENTIAL_SCOPES`` is exported (e.g. constructed at module import), the lazy client builder must still p
lib/crewai/tests/llms/azure/test_azure.py:1583
Function
test_azure_credential_scopes_omitted_by_default
Without explicit scopes or env var, the kwarg must not be set so the Azure SDK chooses its own default audience.
lib/crewai/tests/llms/azure/test_azure.py:1526
Function
test_azure_credential_scopes_passed_to_client
`credential_scopes` constructor arg flows through `_make_client_kwargs` so the underlying ChatCompletionsClient requests tokens for the requested
lib/crewai/tests/llms/azure/test_azure.py:1508
Function
test_azure_deepseek_model_support
Test that DeepSeek and other non-OpenAI models work correctly with Azure AI Inference
lib/crewai/tests/llms/azure/test_azure.py:1181
Function
test_azure_defaults_and_env_aliases
(azure_mock, monkeypatch)
lib/crewai/tests/rag/embeddings/test_openai_compatible_providers.py:62
Function
test_azure_endpoint_configuration
Test that Azure endpoint configuration works with multiple environment variable names
lib/crewai/tests/llms/azure/test_azure.py:450
Function
test_azure_endpoint_detection_flags
Test that is_azure_openai_endpoint flag is set correctly
lib/crewai/tests/llms/azure/test_azure.py:1013
Function
test_azure_endpoint_validation_with_azure_prefix
Test that 'azure/' prefix is properly stripped when constructing endpoint
lib/crewai/tests/llms/azure/test_azure.py:1138
Function
test_azure_environment_variable_endpoint
Test that Azure endpoint is properly loaded from environment
lib/crewai/tests/llms/azure/test_azure.py:772
Method
test_azure_error_message_is_clear
Test that Azure error message clearly states lack of support.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:195
Function
test_azure_function_calling_support
Test that function calling is supported for OpenAI models
lib/crewai/tests/llms/azure/test_azure.py:858
Function
test_azure_functions_are_not_reported_as_paas
Azure Functions run on the App Service host and inherit its marker.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:695
Function
test_azure_gpt54_mini_keeps_its_window
()
lib/crewai/tests/llms/azure/test_azure.py:703
Function
test_azure_gpt56_family_uses_official_context_window
Azure must not fall back to the 8k default for GPT-5.6 deployments.
lib/crewai/tests/llms/azure/test_azure.py:697
Function
test_azure_gpt5_models_do_not_support_stop_words
Test that GPT-5 family models do not support stop words. GPT-5 models use the Responses API which doesn't support stop sequences. See: ht
lib/crewai/tests/llms/azure/test_azure.py:565
Function
test_azure_http_error_handling
Test that Azure HTTP errors are properly handled
lib/crewai/tests/llms/azure/test_azure.py:819
Method
test_azure_import_error
Test handling of import errors for Azure provider.
lib/crewai/tests/rag/embeddings/test_factory_azure.py:110
Function
test_azure_improved_error_messages
Test that improved error messages are provided for common HTTP errors
lib/crewai/tests/llms/azure/test_azure.py:1032
Function
test_azure_lazy_build_reads_env_vars_set_after_construction
When `LLM(model="azure/...")` is constructed before env vars are set, the lazy client builder must re-read `AZURE_API_KEY` / `AZURE_ENDPOINT`
lib/crewai/tests/llms/azure/test_azure.py:420
Method
test_azure_llm_accepts_interceptor_parameter
Test that Azure LLM raises NotImplementedError with interceptor.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:53
Function
test_azure_matches_chromadb_function
(azure_mock)
lib/crewai/tests/rag/embeddings/test_openai_compatible_providers.py:91
Function
test_azure_matches_chromadb_openai_function
(azure_mock)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:192
Function
test_azure_message_formatting
Test that messages are properly formatted for Azure API
lib/crewai/tests/llms/azure/test_azure.py:708
Function
test_azure_message_formatting_default_role
Test that messages without a role default to 'user'
lib/crewai/tests/llms/azure/test_azure.py:998
Function
test_azure_message_formatting_preserves_all_roles
Test that all message roles (system, user, assistant) are preserved correctly
lib/crewai/tests/llms/azure/test_azure.py:1154
← previous
next →
11,501–11,600 of 19,663, ranked by callers