Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
Function
test_without_crewais_catalog_every_model_is_other
(monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:2206
Method
test_without_evidence_the_parameter_is_unknown_the_error_surfaces
Only a rejection of the parameter itself is recovered; anything else naming it is the caller's to see.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:632
Function
test_without_inject_date_no_date_is_sent
()
lib/crewai/tests/agents/test_agent_inject_date.py:131
Function
test_without_proxy_settings_requests_go_directly
( proxy: _RecordingServer, amp: _RecordingServer )
lib/crewai-core/tests/test_plus_api_proxy.py:212
Function
test_without_the_extra_a_spreadsheet_url_is_left_alone
(downloads, monkeypatch)
lib/crewai/tests/agents/test_agent_spreadsheets.py:467
Method
test_without_version
(self)
lib/crewai/tests/skills/test_registry.py:148
Function
test_wizard_lists_lead_with_current_small_models
With no key, the wizard shows the curated list in order; the first is the `--provider` default.
lib/cli/tests/test_constants.py:82
Function
test_wizard_offers_a_curated_list_for_every_provider
Without one, the picker shows LiteLLM's feed, which lags and keeps old models.
lib/cli/tests/test_constants.py:416
Function
test_worker_start_failure_is_a_visible_terminal_record
(failure)
lib/crewai/tests/test_flow_jobs.py:236
Method
test_wrap_image_source
Test wrapping image source returns ImageFile.
lib/crewai/tests/utilities/test_files.py:283
Method
test_wrap_pdf_source
Test wrapping PDF source returns PDFFile.
lib/crewai/tests/utilities/test_files.py:299
Method
test_wrap_text_source
Test wrapping text source returns TextFile.
lib/crewai/tests/utilities/test_files.py:307
Function
test_wrapper_is_applied_differently_per_instance
Verify that agents with and without a2a have different execute_task methods.
lib/crewai/tests/agents/test_agent_a2a_wrapping.py:93
Method
test_writable_cte_allowed_when_dml_enabled
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:312
Method
test_writable_cte_delete_blocked_in_read_only
WITH d AS (DELETE FROM users RETURNING *) SELECT * FROM d — blocked.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:290
Method
test_writable_cte_insert_blocked_in_read_only
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:298
Method
test_writable_cte_triggers_commit
WITH d AS (DELETE ...) must trigger commit when allow_dml=True.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:464
Method
test_writable_cte_update_blocked_in_read_only
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:305
Function
test_write_env_file_creates_an_env_only_its_owner_can_read
(tmp_path)
lib/cli/tests/test_utils.py:172
Function
test_write_env_file_makes_an_existing_readable_env_owner_only
(tmp_path)
lib/cli/tests/test_utils.py:185
Function
test_write_env_file_never_writes_keys_through_a_symlink
(tmp_path)
lib/cli/tests/test_utils.py:207
Function
test_write_env_file_on_windows_writes_without_posix_modes
Windows has no fchmod and no owner-only bits to set: the keys are still written, without a crash.
lib/cli/tests/test_utils.py:196
Function
test_write_env_file_writes_utf8
(tmp_path, ascii_default_encoding)
lib/cli/tests/test_utils.py:265
Function
test_write_lock_releases_on_exception
()
lib/crewai/tests/utilities/events/test_rw_lock.py:190
Function
test_write_project_rejects_an_unknown_ref
(repo, tmp_path)
lib/devtools/tests/test_agents_md_eval.py:151
Function
test_write_project_takes_the_file_at_the_ref_or_the_working_tree
(repo, tmp_path)
lib/devtools/tests/test_agents_md_eval.py:143
Method
test_write_statements_blocked_by_default
(self, stmt: str)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:60
Method
test_write_with_dml_enabled_does_commit
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:190
Function
test_writer_blocks_other_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:72
Function
test_writer_blocks_readers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:43
Function
test_writers_are_serialised_so_a_stale_read_cannot_overwrite_a_newer_run
Two crews finish at once. Reading the file, deciding and replacing it are one step, so no writer can decide against a record another writer has al
lib/crewai/tests/telemetry/test_last_run.py:146
Function
test_writes_utf8_by_default
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:419
Function
test_wrong_json_shape_or_extension_raises
(tmp_path, name, content, message)
lib/crewai/tests/test_jev_evaluation_runner.py:407
Method
test_wrong_path_in_the_same_run_lists_the_path_to_retry_with
( self, read_as: str, use_async: bool )
lib/crewai/tests/agents/test_agent_executor.py:3124
Function
test_wrong_path_lists_the_readable_artifact_paths
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:33
Function
test_xlsx_blank_rows_are_dropped
Excel reports generous dimensions; phantom rows must not pad the output.
lib/crewai-tools/tests/url_read_tool_test.py:664
Function
test_xlsx_cells_are_csv_quoted_so_the_grid_survives
A comma, quote or newline inside a cell must not corrupt the row.
lib/crewai-tools/tests/url_read_tool_test.py:651
Function
test_xlsx_formula_without_a_cached_value_reads_as_empty
data_only returns cached results, so an uncalculated formula is blank. Pinning this documents the trade: agents get "42" from a workbook Excel
lib/crewai-tools/tests/url_read_tool_test.py:788
Function
test_xlsx_resolves_from_its_declared_type_and_its_extension
XLSX is reachable by all three routes, not only by sniffing.
lib/crewai-tools/tests/url_read_tool_test.py:643
Function
test_xlsx_trailing_space_in_the_final_cell_survives
The rendered grid loses its line terminator, not the last cell's space.
lib/crewai-tools/tests/url_read_tool_test.py:733
Function
test_xlsx_whitespace_only_values_survive
Padding is empty, not blank -- a cell the author filled with spaces stays. A bare rstrip() on the rendered grid would also eat a trailing space f
lib/crewai-tools/tests/url_read_tool_test.py:717
Function
test_xlsx_with_no_cells_says_so_instead_of_returning_nothing
An empty workbook reports its emptiness rather than an empty string.
lib/crewai-tools/tests/url_read_tool_test.py:778
Method
test_xml_file_not_found_raises_error
Test that non-existent XML file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:316
Function
test_xml_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:127
Method
test_xml_string
Test data_type='xml' with existing XML file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:155
Function
test_yaml_constructor_keys_must_be_strings
(data_project, invalid_fields)
lib/crewai/tests/project/test_agent_project.py:327
Function
test_yaml_uses_safe_loader
(data_project)
lib/crewai/tests/project/test_agent_project.py:251
Method
test_yanked_version_with_reason
Test a yanked version returns True with reason.
lib/cli/tests/test_version.py:253
Method
test_yanked_version_with_reason
Test a yanked version returns True with reason.
lib/crewai/tests/cli/test_version.py:217
Method
test_yanked_version_without_reason
Test a yanked version returns True with empty reason.
lib/cli/tests/test_version.py:262
Method
test_yanked_version_without_reason
Test a yanked version returns True with empty reason.
lib/crewai/tests/cli/test_version.py:226
Method
test_yanked_warning_shows_when_version_is_yanked
Test yanked warning panel shows when current version is yanked.
lib/crewai/tests/cli/test_version.py:455
Method
test_yanked_warning_shows_without_reason
Test yanked warning panel shows even without a reason.
lib/crewai/tests/cli/test_version.py:475
Function
test_youtube_channel_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:232
Function
test_youtube_video_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:198
Function
test_zero_context_window_size_from_an_older_dump_means_unset
()
lib/crewai/tests/llms/test_context_window.py:682
Function
test_zero_seconds_is_allowed
(tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:51
Method
test_zero_threshold_returns_every_result
(self, cosine_client)
lib/crewai/tests/rag/qdrant/test_client.py:839
Function
test_zip_claiming_to_be_both_docx_and_xlsx_is_refused
A package asserting two identities has not been positively identified.
lib/crewai-tools/tests/url_read_tool_test.py:766
Function
test_zip_compression
(mock_prepare, mock_compress, mock_exists, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:33
Function
test_zip_deploy_uploads_go_through_the_proxy
( proxy: _RecordingServer, machine: dict[str, str], project_zip: Path )
lib/crewai-core/tests/test_plus_api_proxy.py:267
Function
test_zip_deploy_uploads_go_through_the_proxy_the_machine_names
( tmp_path, monkeypatch )
lib/cli/tests/test_plus_api.py:639
Method
test_zip_deployment_is_read_before_source_type
(self)
lib/cli/tests/deploy/test_deploy_main.py:935
Method
test_zip_deploys_send_the_project_id_when_there_is_one
( self, mock_make_multipart_request )
lib/cli/tests/test_plus_api.py:382
Function
testing_tool
Useful for when you need to multiply two numbers together.
lib/crewai/tests/test_crew.py:2890
Function
text_bytes
Load test text bytes.
lib/crewai/tests/test_agent_multimodal.py:77
Function
text_bytes
Load test text bytes.
lib/crewai/tests/test_crew_multimodal.py:68
Function
text_file
Create a TextFile from test fixture.
lib/crewai/tests/test_flow_multimodal.py:53
Function
text_file
Create a TextFile from test fixture.
lib/crewai/tests/test_agent_multimodal.py:71
Function
text_file
Create a TextFile from test fixture.
lib/crewai/tests/test_crew_multimodal.py:62
Method
text_segment
(text: str)
lib/crewai/src/crewai/experimental/flow_turns.py:333
Function
the_app_runs_and_evaluates
()
lib/cli/tests/experimental/test_eval_crew.py:2693
Function
the_child
()
lib/cli/tests/test_crew_run_tui.py:678
Method
third
(self, result)
lib/crewai/tests/events/test_event_ordering.py:736
Function
third_guardrail
Third guardrail converts to uppercase.
lib/crewai/tests/test_task_guardrails.py:372
Method
to_config_dict
Extend base config with Gemini/Vertex-specific fields.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:220
Method
to_config_dict
Extend base config with Bedrock-specific fields.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:437
Method
to_config_dict
Extend base config with Anthropic-specific fields.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:435
Method
to_config_dict
Extend base config with OpenAI-specific fields.
lib/crewai/src/crewai/llms/providers/openai/completion.py:527
Method
to_dict
Convert pydantic_output to a dictionary.
lib/crewai/src/crewai/lite_agent_output.py:102
Method
to_dict
Serialize the definition to a declaration-ready dictionary.
lib/crewai/src/crewai/flow/flow_definition.py:806
Method
to_dict
Convert json_output and pydantic_output to a dictionary.
lib/crewai/src/crewai/crews/crew_output.py:74
Method
to_dict
(self)
lib/crewai/src/crewai/events/listeners/tracing/types.py:23
Function
to_input_messages
(messages: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:160
Method
to_json
Convert the structured output to JSON format. Returns: JSON string representation of the structured output
lib/crewai/src/crewai/utilities/internal_instructor.py:130
Method
to_json
Converts the event to a JSON-serializable dictionary. Args: exclude (set[str], optional): Set of keys to exclude from th
lib/crewai/src/crewai/events/base_events.py:89
Method
to_json
(self, exclude: set[str] | None = None)
lib/crewai/src/crewai/events/types/crew_events.py:29
Method
to_json
Convert text to a JSON dictionary. Args: current_attempt: Current attempt number for retry logic. Returns: D
lib/crewai/src/crewai/agents/agent_builder/utilities/base_output_converter.py:48
Method
to_json
(self, current_attempt: int = 1)
lib/crewai/tests/test_task_converter_output.py:14
Function
to_output_messages
(response: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:173
Method
to_pydantic
Convert text to a Pydantic model instance. Args: current_attempt: Current attempt number for retry logic. Returns:
lib/crewai/src/crewai/agents/agent_builder/utilities/base_output_converter.py:37
Method
to_pydantic_with_completion
(self)
lib/crewai/tests/llms/test_structured_output_multimodal.py:37
Method
to_security_scheme
Generate OAuth2SecurityScheme for AgentCard declaration. Creates an OAuth2SecurityScheme with appropriate flows based on the configur
lib/crewai/src/crewai/a2a/auth/server_schemes.py:637
Function
to_system_instructions
(value: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:209
Function
to_tool_call_result
(result: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:290
Function
to_tool_definitions
(tools: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:225
Method
token_usage
Token usage as a ``UsageMetrics`` object. Same attribute name and type as ``CrewOutput.token_usage``, so a usage accessor written for
lib/crewai/src/crewai/lite_agent_output.py:109
Function
tool
Provide an isolated tool with mocked database and embedding clients.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:21
Function
tool
()
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:11
Function
tool
()
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:8
← previous
next →
19,201–19,300 of 19,484, ranked by callers