MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

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
Functiontest_load_artifact_picks_the_highest_version_number
(store)
lib/crewai/tests/test_artifacts.py:943
Functiontest_load_artifact_raises_when_missing
(store)
lib/crewai/tests/test_artifacts.py:954
Functiontest_load_artifact_reads_back_the_latest_or_a_given_version
(store)
lib/crewai/tests/test_artifacts.py:932
Functiontest_load_artifact_refuses_identifiers_that_are_not_valid
(store, identifier)
lib/crewai/tests/test_artifacts.py:978
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
Methodtest_load_docx_url_download_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_docx_loader.py:99
Methodtest_load_docx_url_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_docx_loader.py:107
Methodtest_load_docx_with_tables
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:32
Methodtest_load_empty_file
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:84
Methodtest_load_empty_file
(self)
lib/crewai/tests/utilities/test_file_handler.py:38
Functiontest_load_env_vars_reads_a_utf8_env_file
(tmp_path, ascii_default_encoding)
lib/cli/tests/test_utils.py:244
Methodtest_load_inline_mdx_text
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:170
Functiontest_load_json_crew_for_tui_prepares_metadata_before_prompt
(monkeypatch)
lib/crewai/tests/cli/test_run_crew.py:179
Methodtest_load_json_dict
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:29
Methodtest_load_json_list
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:42
Methodtest_load_json_primitives
(self, value, expected_type)
lib/crewai-tools/tests/rag/test_json_loader.py:64
Functiontest_load_jsonl
Preserve valid records and derive consistent metadata for file or inline input.
lib/crewai-tools/tests/rag/test_jsonl_loader.py:37
Methodtest_load_malformed_json
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:74
Methodtest_load_mdx_from_url
(self, mock_get)
lib/crewai-tools/tests/rag/test_mdx_loader.py:142
Methodtest_load_mdx_with_custom_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_mdx_loader.py:153
Methodtest_load_minimal_agent
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:107
Methodtest_load_missing_file_does_not_acquire_lock
(self)
lib/crewai/tests/utilities/test_training_handler.py:55
Methodtest_load_non_recursive
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:23
Methodtest_load_nonexistent_pending_feedback
Test loading pending feedback that doesn't exist.
lib/crewai/tests/test_async_human_feedback.py:310
Methodtest_load_pdf_from_file
A PDF on disk has its text extracted with page markers.
lib/crewai-tools/tests/rag/test_pdf_loader.py:34
Methodtest_load_pdf_from_url
A PDF fetched from a URL is extracted and attributed to that URL.
lib/crewai-tools/tests/rag/test_pdf_loader.py:48
Methodtest_load_pdf_from_url_accepts_a_custom_size_limit
Callers can lower or raise the ceiling per load.
lib/crewai-tools/tests/rag/test_pdf_loader.py:85
Methodtest_load_pdf_from_url_is_size_bounded
The download is capped, since the body is held in memory.
lib/crewai-tools/tests/rag/test_pdf_loader.py:77
Methodtest_load_pdf_from_url_leaves_no_temp_file
The URL path must not write a temp file it never cleans up. It previously used NamedTemporaryFile(delete=False) without unlinking, so
lib/crewai-tools/tests/rag/test_pdf_loader.py:62
Methodtest_load_pdf_from_url_with_custom_headers
Caller-supplied headers replace the loader's defaults.
lib/crewai-tools/tests/rag/test_pdf_loader.py:95
Methodtest_load_pdf_missing_file
A missing local path raises FileNotFoundError, not ValueError.
lib/crewai-tools/tests/rag/test_pdf_loader.py:119
Methodtest_load_pdf_url_download_error
A failed download surfaces as a ValueError naming the URL.
lib/crewai-tools/tests/rag/test_pdf_loader.py:107
Methodtest_load_pdf_url_over_size_limit
An oversized body is reported rather than partially parsed.
lib/crewai-tools/tests/rag/test_pdf_loader.py:113
Functiontest_load_preserves_document_source
Keep the original URL available for document attribution and replacement.
lib/crewai-tools/tests/rag/test_docs_site_loader.py:14
Functiontest_load_prompts
()
lib/crewai/tests/utilities/test_i18n.py:5
Methodtest_load_recursive
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:39
Methodtest_load_skills_deduplicates_by_name
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:166
← previousnext →15,601–15,700 of 19,735, ranked by callers