MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_litellm_keeps_provider_but_formats_multimodal_as_openai_schema
()
lib/crewai/tests/test_llm.py:1135
Functiontest_litellm_loads_without_custom_tool_call_type
Older litellm lacks ChatCompletionDeltaCustomToolCall; it is only a type hint.
lib/crewai/tests/llms/litellm/test_litellm_import_compat.py:26
Functiontest_litellm_map_includes_the_openai_gpt5_family
()
lib/crewai/tests/llms/test_context_window.py:103
Functiontest_litellm_non_gpt5_sends_stop_in_params
Test that the LiteLLM fallback path still includes 'stop' in API params for models that support it.
lib/crewai/tests/test_llm.py:817
Functiontest_litellm_path_preserves_provider_from_model_prefix
(model, expected_provider)
lib/crewai/tests/test_llm.py:1128
Functiontest_litellm_retry_catches_litellm_unsupported_params_error
Test that the retry logic catches LiteLLM's UnsupportedParamsError format ("does not support parameters") in addition to the OpenAI API forma
lib/crewai/tests/test_llm.py:894
Functiontest_litellm_retry_catches_openai_api_stop_error
Test that the retry logic still catches the OpenAI API error format ("Unsupported parameter: 'stop'").
lib/crewai/tests/test_llm.py:931
Functiontest_litellm_strips_provider_prefix
(monkeypatch)
lib/cli/tests/test_model_catalog.py:399
Functiontest_litellm_tier_for_uncurated_provider
(monkeypatch)
lib/cli/tests/test_model_catalog.py:370
Functiontest_live_answer_of_the_wrong_type_fails
(record, answers, error)
lib/crewai/tests/test_jev_evaluation_runner.py:600
Functiontest_live_answer_without_probabilities_or_usage
()
lib/crewai/tests/test_jev_evaluation_runner.py:627
Functiontest_live_azure_documentdb_and_openai_with_entra
Use an explicitly selected identity without falling back to another login.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_e2e.py:154
Functiontest_live_client_errors_become_failed_records
()
lib/crewai/tests/test_jev_evaluation_runner.py:540
Functiontest_live_collection_builds_questions_and_records_metadata
(monkeypatch)
lib/crewai/tests/test_jev_evaluation_runner.py:487
Functiontest_live_collection_requires_questions
(override)
lib/crewai/tests/test_jev_evaluation_runner.py:645
Functiontest_live_collection_skips_recorded_decisions
()
lib/crewai/tests/test_jev_evaluation_runner.py:650
Methodtest_live_llm_object_is_not_downgraded_by_the_definition
(self)
lib/crewai/tests/test_flow_conversation.py:3201
Methodtest_live_router_response_format_is_not_downgraded
(self)
lib/crewai/tests/test_flow_conversation.py:3213
Methodtest_llm_accepts_every_documented_effort
(self, effort)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:701
Methodtest_llm_action_inside_flow_claims_flow_trace_batch
(self)
lib/crewai/tests/test_flow_conversation.py:1874
Functiontest_llm_call
()
lib/crewai/tests/agents/test_agent.py:1387
Functiontest_llm_call_events_share_call_id
All events from a single LLM call should share the same call_id.
lib/crewai/tests/utilities/test_events.py:1750
Functiontest_llm_call_when_stop_is_unsupported
(caplog)
lib/crewai/tests/test_llm.py:763
Functiontest_llm_call_when_stop_is_unsupported_when_additional_drop_params_is_provided
( caplog, )
lib/crewai/tests/test_llm.py:774
Functiontest_llm_call_with_all_attributes
()
lib/crewai/tests/agents/test_agent.py:1524
Functiontest_llm_call_with_error
()
lib/crewai/tests/agents/test_agent.py:1396
Functiontest_llm_call_with_message_list
()
lib/crewai/tests/test_llm.py:80
Functiontest_llm_call_with_ollama_llama3
()
lib/crewai/tests/agents/test_agent.py:1564
Functiontest_llm_call_with_string_input
()
lib/crewai/tests/test_llm.py:55
Functiontest_llm_call_with_string_input_and_callbacks
()
lib/crewai/tests/test_llm.py:64
Functiontest_llm_call_with_tool_and_message_list
()
lib/crewai/tests/test_llm.py:144
Functiontest_llm_call_with_tool_and_string_input
()
lib/crewai/tests/test_llm.py:108
Functiontest_llm_callback_replacement
()
lib/crewai/tests/test_llm.py:29
Functiontest_llm_completed_event_includes_usage
()
lib/crewai/tests/utilities/test_events.py:1345
Methodtest_llm_creates_native_snowflake_provider
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:109
Methodtest_llm_creates_openai_compatible_for_cerebras
Test LLM factory creates OpenAICompatibleCompletion for Cerebras.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:305
Methodtest_llm_creates_openai_compatible_for_dashscope
Test LLM factory creates OpenAICompatibleCompletion for Dashscope.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:312
Methodtest_llm_creates_openai_compatible_for_dashscope_non_qwen
Non-Qwen DashScope models must still use the native OpenAI-compatible path.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:319
Methodtest_llm_creates_openai_compatible_for_deepinfra
Test LLM factory creates OpenAICompatibleCompletion for DeepInfra.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:333
Methodtest_llm_creates_openai_compatible_for_deepinfra_explicit_provider
Explicit provider="deepinfra" routes natively without the model prefix.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:357
Methodtest_llm_creates_openai_compatible_for_deepseek
Test LLM factory creates OpenAICompatibleCompletion for DeepSeek.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:275
Methodtest_llm_creates_openai_compatible_for_hosted_vllm
Test LLM factory creates OpenAICompatibleCompletion for hosted_vllm.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:299
Methodtest_llm_creates_openai_compatible_for_ollama
Test LLM factory creates OpenAICompatibleCompletion for Ollama.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:283
Methodtest_llm_creates_openai_compatible_for_openrouter
Test LLM factory creates OpenAICompatibleCompletion for OpenRouter.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:290
Functiontest_llm_emits_call_failed_event
()
lib/crewai/tests/utilities/test_events.py:1373
Functiontest_llm_emits_call_started_event
()
lib/crewai/tests/utilities/test_events.py:1308
Functiontest_llm_emits_event_with_lite_agent
()
lib/crewai/tests/utilities/test_events.py:1677
Functiontest_llm_emits_event_with_task_and_agent_info
(base_agent, base_task)
lib/crewai/tests/utilities/test_events.py:1613
Functiontest_llm_emits_stream_chunk_events
Test that LLM emits stream chunk events when streaming is enabled.
lib/crewai/tests/utilities/test_events.py:1403
Methodtest_llm_events_have_parent
LLM call events should have a parent event.
lib/crewai/tests/events/test_event_ordering.py:228
Methodtest_llm_exception_falls_back_to_simple_prompting
Test that LLM exception triggers fallback to simple prompting.
lib/crewai/tests/test_async_human_feedback.py:1138
Methodtest_llm_explicit_deepinfra_provider_rejects_malformed_model
provider="deepinfra" applies the org/model check before building a client.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:373
Methodtest_llm_factory_passes_api_kwarg
LLM(model='azure/gpt-4o', api='responses') should create AzureCompletion with api='responses' and a delegate.
lib/crewai/tests/llms/azure/test_azure_responses.py:376
Functiontest_llm_messages_and_response_arrive_whole
()
lib/crewai/tests/telemetry/test_span_attribute_bound.py:201
Functiontest_llm_no_stream_chunks_when_streaming_disabled
Test that LLM doesn't emit stream chunk events when streaming is disabled.
lib/crewai/tests/utilities/test_events.py:1426
Functiontest_llm_passes_additional_params
()
lib/crewai/tests/test_llm.py:182
Methodtest_llm_passes_kwargs_to_completion
Test LLM passes kwargs to OpenAICompatibleCompletion.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:422
Functiontest_llm_property_shares_default_model_cache
(mock_llm_cls: MagicMock)
lib/crewai-tools/tests/tools/test_vision_tool.py:166
Methodtest_llm_rejects_malformed_deepinfra_prefixed_model
A malformed deepinfra/... id raises the org/model error, never reaching LiteLLM.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:388
Methodtest_llm_with_explicit_provider
Test LLM with explicit provider parameter.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:414
Methodtest_load_acquires_lock_for_zero_size_file
(self)
lib/crewai/tests/utilities/test_training_handler.py:64
Methodtest_load_agent_accepts_public_agent_config_fields
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:220
Methodtest_load_agent_accepts_serialized_tool_dict
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/project/test_json_loader.py:246
Methodtest_load_agent_accepts_static_mcp_tool_filter
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:299
Methodtest_load_agent_file_not_found
(self)
lib/crewai/tests/project/test_json_loader.py:406
Methodtest_load_agent_from_jsonc
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:355
Methodtest_load_agent_from_jsonc_with_a_utf8_bom
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:370
Methodtest_load_agent_missing_required_fields
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:380
Methodtest_load_agent_rejects_null_required_fields
( self, tmp_path: Path, field: str )
lib/crewai/tests/project/test_json_loader.py:389
Methodtest_load_agent_rejects_runtime_fields
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:326
Methodtest_load_agent_rejects_tool_dict_that_is_not_a_tool
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/project/test_json_loader.py:280
Methodtest_load_agent_with_llm
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:121
Methodtest_load_agent_with_llm_config_object
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:134
Methodtest_load_agent_with_planning_config_llm_object
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:157
Methodtest_load_agent_with_settings_block
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:183
Methodtest_load_agent_with_top_level_settings
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:205
Methodtest_load_basic_mdx_file
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:26
Methodtest_load_basic_webpage
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:27
Methodtest_load_basic_webpage
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:27
Methodtest_load_complex_nested_json
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:103
Methodtest_load_corrupt_pdf_raises_value_error
Bytes that are not a parseable PDF produce a read error.
lib/crewai-tools/tests/rag/test_pdf_loader.py:124
Methodtest_load_corrupted_file
(self)
lib/crewai/tests/utilities/test_file_handler.py:42
Functiontest_load_crew_and_name_loads_json_crew_definition
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:202
Functiontest_load_crew_and_name_reports_missing_classic_crew_module
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:228
Functiontest_load_crew_and_name_still_imports_classic_crew_module
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:216
Methodtest_load_crew_from_inline_definition
(self)
lib/crewai/tests/project/test_crew_loader.py:75
Methodtest_load_csv_empty_file
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:62
Methodtest_load_csv_from_file
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:29
Methodtest_load_csv_from_url
(self, mock_get)
lib/crewai-tools/tests/rag/test_csv_loader.py:89
Methodtest_load_csv_malformed
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:54
Methodtest_load_csv_text_input
(self)
lib/crewai-tools/tests/rag/test_csv_loader.py:69
Methodtest_load_csv_with_custom_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_csv_loader.py:103
Methodtest_load_csv_with_empty_values
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:46
Functiontest_load_declarative_flow_reports_invalid_declarations
( tmp_path: Path, capsys: pytest.CaptureFixture[str], contents: str, expected_error: str, )
lib/cli/tests/test_run_declarative_flow.py:97
Methodtest_load_docx_empty_document
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:131
Methodtest_load_docx_from_file
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:12
Methodtest_load_docx_from_url
( self, mock_unlink, mock_tempfile, mock_docx_class, mock_get )
lib/crewai-tools/tests/rag/test_docx_loader.py:48
Methodtest_load_docx_from_url_with_custom_headers
(self, mock_docx_class, mock_get)
lib/crewai-tools/tests/rag/test_docx_loader.py:82
Methodtest_load_docx_invalid_source
(self)
lib/crewai-tools/tests/rag/test_docx_loader.py:116
Methodtest_load_docx_parsing_error
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:122
← previousnext →15,401–15,500 of 19,482, ranked by callers