MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_at_a_terminal_any_other_failure_exits_as_before
( project, usage, monkeypatch, failure )
lib/cli/tests/test_run_usage.py:1662
Functiontest_at_a_terminal_enter_shares_the_trace_and_only_a_no_runs_nothing
The person asked for the evaluation, so pressing Enter shares the trace and runs the crew; only an explicit no runs nothing. The question waits fo
lib/cli/tests/experimental/test_eval_crew.py:3585
Functiontest_at_a_terminal_quitting_at_the_key_prompt_counts_the_stop
Ctrl-C or Ctrl-D at the prompt stops the run for the key, counted once: a crew that did not load counts no load_failed for it either.
lib/cli/tests/test_run_usage.py:1721
Functiontest_at_a_terminal_the_app_that_runs_the_crew_evaluates_it_without_a_question
( project, monkeypatch )
lib/cli/tests/experimental/test_eval_crew.py:898
Functiontest_at_a_terminal_the_crew_runs_again_from_its_first_task_with_its_inputs
A key pasted after kickoff runs finished tasks again: the CLI says so, and does not ask again for the inputs given to the first run.
lib/cli/tests/test_run_usage.py:1750
Functiontest_at_a_terminal_the_retry_prompt_names_a_host_an_llms_client_params_send_requests_to
An llm's `client_params` override its `base_url` when crewAI builds the client, so a host there gets the key as surely as one in `base_url`.
lib/cli/tests/test_run_usage.py:1823
Functiontest_at_a_terminal_the_retry_prompt_names_each_host_the_project_sends_requests_to
The runner child loads the project's `.env` before the crew, so its settings are in the environment by the time the key is asked for; and an a
lib/cli/tests/test_run_usage.py:1790
Functiontest_at_a_terminal_the_run_prints_where_it_always_did
(project, monkeypatch, capfd)
lib/cli/tests/experimental/test_eval_crew.py:4213
Functiontest_at_a_terminal_tracing_is_turned_on_only_after_the_consent_screen
A person at the terminal is asked first, with Enter meaning yes; a yes turns tracing on for the project and runs the crew, a no runs nothing. A
lib/cli/tests/experimental/test_eval_crew.py:3523
Functiontest_at_a_terminal_whose_output_is_captured_the_line_is_given_not_asked
`crewai eval` sends a run's output to a log when nobody is watching it.
lib/cli/tests/test_run_usage.py:1637
Functiontest_at_most_ten_spreadsheets_are_read
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1038
Methodtest_at_prefixed
(self)
lib/crewai/tests/skills/test_registry.py:105
Methodtest_ato_json_function_calling_does_not_block_event_loop
The function-calling JSON path must run via asyncio.to_thread. ``InternalInstructor`` is sync-only; `ato_json` should offload it so the
lib/crewai/tests/task/test_async_task.py:426
Methodtest_atomic_create_existing_file
Test atomic create fails for existing file.
lib/cli/tests/test_token_manager.py:180
Methodtest_atomic_create_existing_file
Test atomic create fails for existing file.
lib/crewai/tests/cli/test_token_manager.py:176
Methodtest_atomic_create_new_file
Test atomic create succeeds for new file.
lib/cli/tests/test_token_manager.py:164
Methodtest_atomic_create_new_file
Test atomic create succeeds for new file.
lib/crewai/tests/cli/test_token_manager.py:160
Methodtest_atomic_write_new_file
Test atomic write creates new file.
lib/cli/tests/test_token_manager.py:196
Methodtest_atomic_write_new_file
Test atomic write creates new file.
lib/crewai/tests/cli/test_token_manager.py:192
Methodtest_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
Methodtest_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
Methodtest_atomic_write_overwrites
Test atomic write overwrites existing file.
lib/cli/tests/test_token_manager.py:211
Methodtest_atomic_write_overwrites
Test atomic write overwrites existing file.
lib/crewai/tests/cli/test_token_manager.py:207
Methodtest_attempt_mcp_discovery_raises_auth_for_mixed_exception_group
(self)
lib/crewai/tests/mcp/test_tool_resolver_auth.py:141
Methodtest_attempt_mcp_discovery_raises_authentication_failure_for_401
(self)
lib/crewai/tests/mcp/test_tool_resolver_auth.py:127
Functiontest_audio_bytes
Load test audio bytes.
lib/crewai/tests/llms/test_multimodal_integration.py:53
Methodtest_audio_constraints_creation
Test creating audio constraints.
lib/crewai-files/tests/processing/test_constraints.py:85
Methodtest_audio_file
Test agent can process an audio file.
lib/crewai/tests/test_agent_multimodal.py:312
Methodtest_audio_file
Test crew can process an audio file.
lib/crewai/tests/test_crew_multimodal.py:267
Methodtest_audio_file_creation
Test AudioFile creation.
lib/crewai/tests/utilities/test_files.py:221
Methodtest_audio_gemini
Test audio file with Gemini.
lib/crewai/tests/test_agent_multimodal.py:407
Methodtest_audio_gemini
Test audio file with Gemini.
lib/crewai/tests/test_crew_multimodal.py:369
Methodtest_audio_with_anthropic_uses_tool
Test audio with Anthropic (no audio support) uses read_file tool.
lib/crewai/tests/test_crew_multimodal.py:404
Functiontest_aupload_creates_session_when_none_injected
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-files/tests/test_bedrock_async_client.py:90
Functiontest_aupload_uses_injected_async_session
()
lib/crewai-files/tests/test_bedrock_async_client.py:68
Functiontest_auth_error_raises_immediately
A 401 with SUBSCRIPTION_TOKEN_INVALID is not retried.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:516
Methodtest_auth_interceptor_adds_headers
Test that auth interceptor adds custom headers to requests.
lib/crewai/tests/llms/hooks/test_openai_interceptor.py:224
Methodtest_auth_interceptor_with_openai
Test that auth interceptor can be used with OpenAI LLM.
lib/crewai/tests/llms/hooks/test_openai_interceptor.py:215
Methodtest_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
Methodtest_authenticated_batch_reports_authenticated_sent
(self)
lib/crewai/tests/tracing/test_tracing.py:1628
Functiontest_authenticated_spans_go_directly_to_collector
(collector, credential)
lib/crewai/tests/telemetry/test_session_trace_export.py:391
Methodtest_author_supplied_entry_is_not_overridden
(self)
lib/crewai/tests/test_flow_conversation.py:3382
Functiontest_authorization_header_construction
(tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:167
Functiontest_authorization_header_with_org_id
(tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:176
Methodtest_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
Methodtest_auto_detect_directory
Test auto-detection of directory type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:433
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_auto_detected_text_url
(self, url: str, content: str)
lib/crewai-tools/tests/rag/test_text_loaders.py:113
Methodtest_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
Methodtest_auto_persistence_when_none_provided
Test that persistence is auto-created when HumanFeedbackPending is raised.
lib/crewai/tests/test_async_human_feedback.py:1009
Functiontest_automatic_checkpoint_and_prune
(tmp_path, features)
lib/crewai/tests/telemetry/test_checkpoint_telemetry.py:62
Methodtest_awaits_an_async_client
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/skills/test_registry.py:370
Methodtest_awaits_an_async_response
(self, inside_loop: bool)
lib/crewai/tests/utilities/test_agent_utils.py:1170
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_azure_agent_kickoff_with_tools_mocked
Test Azure agent kickoff with mocked LLM call.
lib/crewai/tests/agents/test_native_tool_calling.py:718
Methodtest_azure_agent_with_native_tool_calling
Test Azure agent can use native tool calling.
lib/crewai/tests/agents/test_native_tool_calling.py:691
Functiontest_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
Functiontest_azure_api_version_default
Test that Azure API version defaults correctly
lib/crewai/tests/llms/azure/test_azure.py:847
Functiontest_azure_api_version_properly_passed
Test that api_version is properly passed to the client
lib/crewai/tests/llms/azure/test_azure.py:1064
Functiontest_azure_async_conversation
Test async call with conversation history.
lib/crewai/tests/llms/azure/test_azure_async.py:101
Functiontest_azure_async_multiple_calls
Test making multiple async calls in sequence.
lib/crewai/tests/llms/azure/test_azure_async.py:24
Functiontest_azure_async_non_streaming
Test basic async non-streaming call.
lib/crewai/tests/llms/azure/test_azure_async.py:11
Functiontest_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
Functiontest_azure_async_with_max_tokens
Test async call with max_tokens parameter.
lib/crewai/tests/llms/azure/test_azure_async.py:51
Functiontest_azure_async_with_parameters
Test async call with multiple parameters.
lib/crewai/tests/llms/azure/test_azure_async.py:81
Functiontest_azure_async_with_system_message
Test async call with system message.
lib/crewai/tests/llms/azure/test_azure_async.py:64
Functiontest_azure_async_with_temperature
Test async call with temperature parameter.
lib/crewai/tests/llms/azure/test_azure_async.py:39
Functiontest_azure_builds_native_function_with_azure_client
(azure_mock)
lib/crewai/tests/rag/embeddings/test_openai_compatible_providers.py:45
Functiontest_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
Functiontest_azure_completion_call
Test that AzureCompletion call method works
lib/crewai/tests/llms/azure/test_azure.py:187
Functiontest_azure_completion_call_arguments
Test that AzureCompletion.call is invoked with correct arguments
lib/crewai/tests/llms/azure/test_azure.py:230
Functiontest_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
Functiontest_azure_completion_initialization_parameters
Test that AzureCompletion is initialized with correct parameters
lib/crewai/tests/llms/azure/test_azure.py:142
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_azure_completion_params_preparation
Test that completion parameters are properly prepared
lib/crewai/tests/llms/azure/test_azure.py:506
Functiontest_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
Functiontest_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
Functiontest_azure_context_window_size
Test that Azure models return correct context window sizes
lib/crewai/tests/llms/azure/test_azure.py:655
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_azure_defaults_and_env_aliases
(azure_mock, monkeypatch)
lib/crewai/tests/rag/embeddings/test_openai_compatible_providers.py:62
Functiontest_azure_endpoint_configuration
Test that Azure endpoint configuration works with multiple environment variable names
lib/crewai/tests/llms/azure/test_azure.py:450
Functiontest_azure_endpoint_detection_flags
Test that is_azure_openai_endpoint flag is set correctly
lib/crewai/tests/llms/azure/test_azure.py:1013
Functiontest_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
Functiontest_azure_environment_variable_endpoint
Test that Azure endpoint is properly loaded from environment
lib/crewai/tests/llms/azure/test_azure.py:772
Methodtest_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
Functiontest_azure_function_calling_support
Test that function calling is supported for OpenAI models
lib/crewai/tests/llms/azure/test_azure.py:858
Functiontest_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
← previousnext →11,401–11,500 of 19,482, ranked by callers