Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Method
test_llm_creates_openai_compatible_for_dashscope
Test LLM factory creates OpenAICompatibleCompletion for Dashscope.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:312
Method
test_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
Method
test_llm_creates_openai_compatible_for_deepinfra
Test LLM factory creates OpenAICompatibleCompletion for DeepInfra.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:333
Method
test_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
Method
test_llm_creates_openai_compatible_for_deepseek
Test LLM factory creates OpenAICompatibleCompletion for DeepSeek.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:275
Method
test_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
Method
test_llm_creates_openai_compatible_for_ollama
Test LLM factory creates OpenAICompatibleCompletion for Ollama.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:283
Method
test_llm_creates_openai_compatible_for_openrouter
Test LLM factory creates OpenAICompatibleCompletion for OpenRouter.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:290
Function
test_llm_emits_call_failed_event
()
lib/crewai/tests/utilities/test_events.py:1373
Function
test_llm_emits_call_started_event
()
lib/crewai/tests/utilities/test_events.py:1308
Function
test_llm_emits_event_with_lite_agent
()
lib/crewai/tests/utilities/test_events.py:1677
Function
test_llm_emits_event_with_task_and_agent_info
(base_agent, base_task)
lib/crewai/tests/utilities/test_events.py:1613
Function
test_llm_emits_stream_chunk_events
Test that LLM emits stream chunk events when streaming is enabled.
lib/crewai/tests/utilities/test_events.py:1403
Method
test_llm_events_have_parent
LLM call events should have a parent event.
lib/crewai/tests/events/test_event_ordering.py:228
Method
test_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
Method
test_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
Method
test_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
Function
test_llm_messages_and_response_arrive_whole
()
lib/crewai/tests/telemetry/test_span_attribute_bound.py:201
Function
test_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
Function
test_llm_passes_additional_params
()
lib/crewai/tests/test_llm.py:182
Method
test_llm_passes_kwargs_to_completion
Test LLM passes kwargs to OpenAICompatibleCompletion.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:422
Function
test_llm_property_shares_default_model_cache
(mock_llm_cls: MagicMock)
lib/crewai-tools/tests/tools/test_vision_tool.py:166
Method
test_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
Method
test_llm_with_explicit_provider
Test LLM with explicit provider parameter.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:414
Method
test_load_acquires_lock_for_zero_size_file
(self)
lib/crewai/tests/utilities/test_training_handler.py:64
Method
test_load_agent_accepts_public_agent_config_fields
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:220
Method
test_load_agent_accepts_serialized_tool_dict
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/project/test_json_loader.py:246
Method
test_load_agent_accepts_static_mcp_tool_filter
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:299
Method
test_load_agent_file_not_found
(self)
lib/crewai/tests/project/test_json_loader.py:406
Method
test_load_agent_from_jsonc
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:355
Method
test_load_agent_from_jsonc_with_a_utf8_bom
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:370
Method
test_load_agent_missing_required_fields
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:380
Method
test_load_agent_rejects_null_required_fields
( self, tmp_path: Path, field: str )
lib/crewai/tests/project/test_json_loader.py:389
Method
test_load_agent_rejects_runtime_fields
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:326
Method
test_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
Method
test_load_agent_with_llm
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:121
Method
test_load_agent_with_llm_config_object
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:134
Method
test_load_agent_with_planning_config_llm_object
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:157
Method
test_load_agent_with_settings_block
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:183
Method
test_load_agent_with_top_level_settings
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:205
Function
test_load_artifact_picks_the_highest_version_number
(store)
lib/crewai/tests/test_artifacts.py:943
Function
test_load_artifact_raises_when_missing
(store)
lib/crewai/tests/test_artifacts.py:954
Function
test_load_artifact_reads_back_the_latest_or_a_given_version
(store)
lib/crewai/tests/test_artifacts.py:932
Function
test_load_artifact_refuses_identifiers_that_are_not_valid
(store, identifier)
lib/crewai/tests/test_artifacts.py:978
Method
test_load_basic_mdx_file
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:26
Method
test_load_basic_webpage
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:27
Method
test_load_basic_webpage
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:27
Method
test_load_complex_nested_json
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:103
Method
test_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
Method
test_load_corrupted_file
(self)
lib/crewai/tests/utilities/test_file_handler.py:42
Function
test_load_crew_and_name_loads_json_crew_definition
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:202
Function
test_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
Function
test_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
Method
test_load_crew_from_inline_definition
(self)
lib/crewai/tests/project/test_crew_loader.py:75
Method
test_load_csv_empty_file
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:62
Method
test_load_csv_from_file
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:29
Method
test_load_csv_from_url
(self, mock_get)
lib/crewai-tools/tests/rag/test_csv_loader.py:89
Method
test_load_csv_malformed
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:54
Method
test_load_csv_text_input
(self)
lib/crewai-tools/tests/rag/test_csv_loader.py:69
Method
test_load_csv_with_custom_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_csv_loader.py:103
Method
test_load_csv_with_empty_values
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:46
Function
test_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
Method
test_load_docx_empty_document
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:131
Method
test_load_docx_from_file
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:12
Method
test_load_docx_from_url
( self, mock_unlink, mock_tempfile, mock_docx_class, mock_get )
lib/crewai-tools/tests/rag/test_docx_loader.py:48
Method
test_load_docx_from_url_with_custom_headers
(self, mock_docx_class, mock_get)
lib/crewai-tools/tests/rag/test_docx_loader.py:82
Method
test_load_docx_invalid_source
(self)
lib/crewai-tools/tests/rag/test_docx_loader.py:116
Method
test_load_docx_parsing_error
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:122
Method
test_load_docx_url_download_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_docx_loader.py:99
Method
test_load_docx_url_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_docx_loader.py:107
Method
test_load_docx_with_tables
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:32
Method
test_load_empty_file
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:84
Method
test_load_empty_file
(self)
lib/crewai/tests/utilities/test_file_handler.py:38
Function
test_load_env_vars_reads_a_utf8_env_file
(tmp_path, ascii_default_encoding)
lib/cli/tests/test_utils.py:244
Method
test_load_inline_mdx_text
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:170
Function
test_load_json_crew_for_tui_prepares_metadata_before_prompt
(monkeypatch)
lib/crewai/tests/cli/test_run_crew.py:179
Method
test_load_json_dict
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:29
Method
test_load_json_list
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:42
Method
test_load_json_primitives
(self, value, expected_type)
lib/crewai-tools/tests/rag/test_json_loader.py:64
Function
test_load_jsonl
Preserve valid records and derive consistent metadata for file or inline input.
lib/crewai-tools/tests/rag/test_jsonl_loader.py:37
Method
test_load_malformed_json
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:74
Method
test_load_mdx_from_url
(self, mock_get)
lib/crewai-tools/tests/rag/test_mdx_loader.py:142
Method
test_load_mdx_with_custom_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_mdx_loader.py:153
Method
test_load_minimal_agent
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:107
Method
test_load_missing_file_does_not_acquire_lock
(self)
lib/crewai/tests/utilities/test_training_handler.py:55
Method
test_load_non_recursive
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:23
Method
test_load_nonexistent_pending_feedback
Test loading pending feedback that doesn't exist.
lib/crewai/tests/test_async_human_feedback.py:310
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_load_pdf_missing_file
A missing local path raises FileNotFoundError, not ValueError.
lib/crewai-tools/tests/rag/test_pdf_loader.py:119
Method
test_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
Method
test_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
Function
test_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
Function
test_load_prompts
()
lib/crewai/tests/utilities/test_i18n.py:5
Method
test_load_recursive
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:39
Method
test_load_skills_deduplicates_by_name
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:166
← previous
next →
15,601–15,700 of 19,735, ranked by callers