MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functiontest_prompt_for_inputs_keeps_raw_string_without_coerce
(monkeypatch)
lib/cli/tests/test_input_prompt.py:79
Functiontest_prompt_for_inputs_uses_describe_and_coerce
(monkeypatch, capsys)
lib/cli/tests/test_input_prompt.py:54
Methodtest_prompt_rendering_still_uses_composite
(self)
lib/crewai/tests/tools/test_base_tool.py:783
Functiontest_prompts_for_missing_required_when_interactive
( tmp_path: Path, capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:296
Methodtest_properties
(self, tmp_path: Path)
lib/crewai/tests/skills/test_models.py:66
Methodtest_property_keeps_its_name
(self, name: str)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:534
Functiontest_prose_final_answer_is_requested_again_in_the_response_model
( mode: str, native: bool )
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:191
Methodtest_prose_mentioning_the_marker_is_not_truncated
Authored text that merely mentions "Tool Description:" must reach the LLM untouched — only descriptions that ARE a pre-composed block
lib/crewai/tests/tools/test_base_tool.py:755
Methodtest_protobuf_like_repeated_container_is_coerced
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:138
Methodtest_protobuf_listvalue_with_nested_values_coerces_to_textproto_strings
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:154
Methodtest_protocol_compliance_async_provider
Test that async provider complies with protocol.
lib/crewai/tests/test_async_human_feedback.py:242
Methodtest_protocol_compliance_sync_provider
Test that sync provider complies with protocol.
lib/crewai/tests/test_async_human_feedback.py:230
Functiontest_provide_config
()
lib/crewai-tools/tests/tools/test_mongodb_vector_search_tool.py:28
Methodtest_provider_config_defaults
Test ProviderConfig default values.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:31
Methodtest_provider_config_immutable
Test that ProviderConfig is immutable (frozen).
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:22
Methodtest_provider_constraints_creation
Test creating full provider constraints.
lib/crewai-files/tests/processing/test_constraints.py:115
Methodtest_provider_constraints_defaults
Test provider constraints with default values.
lib/crewai-files/tests/processing/test_constraints.py:130
Functiontest_provider_error_on_the_schema_request_keeps_the_kickoff_answer
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:317
Functiontest_provider_error_on_the_schema_request_keeps_the_task_answer
( mode: str, )
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:304
Functiontest_provider_for_model_applies_crewai_prefix_aliases
( model: str, provider: str )
lib/cli/tests/test_constants.py:129
Functiontest_provider_for_model_infers_bare_names_as_crewai_does
A bare name the CLI recognizes must land on the provider crewAI infers, or `crewai create` adds the wrong extra and the first run fails.
lib/cli/tests/test_constants.py:171
Functiontest_provider_for_model_matches_every_prefix_crewai_routes
The CLI keeps its own copy of crewAI's prefix aliases; a prefix crewAI adds or renames must not make `crewai create` pick the wrong extra.
lib/cli/tests/test_constants.py:204
Functiontest_provider_for_model_reads_the_prefix
(model: str, provider: str)
lib/cli/tests/test_constants.py:115
Functiontest_provider_for_model_recognizes_bare_model_names
( model: str, provider: str )
lib/cli/tests/test_constants.py:152
Functiontest_provider_for_model_returns_none_for_an_unknown_model
(model: str)
lib/cli/tests/test_constants.py:182
Methodtest_provider_initialization
Test console provider initialization.
lib/crewai/tests/test_async_human_feedback.py:261
Functiontest_provider_module_imports_without_chromadb
( monkeypatch, module, provider, chroma_module, _ )
lib/crewai/tests/rag/embeddings/test_chromadb_optional_providers.py:102
Methodtest_provider_prefix_added_to_bare_model
Test that provider prefix is added when model has no slash.
lib/crewai/tests/test_async_human_feedback.py:1285
Methodtest_provider_prefix_not_doubled_when_already_present
Test that provider prefix is not added when model already has a slash.
lib/crewai/tests/test_async_human_feedback.py:1299
Methodtest_provider_raises_pending_exception
Test that async provider raises HumanFeedbackPending.
lib/crewai/tests/test_async_human_feedback.py:392
Functiontest_provider_ref_requiring_ctor_args_fails_loudly
()
lib/crewai/tests/test_flow_from_definition.py:4585
Methodtest_provider_requires_exactly_one_connection_source
(self)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:138
Functiontest_provider_without_chromadb_names_the_extra
( monkeypatch, module, provider, chroma_module, _ )
lib/crewai/tests/rag/embeddings/test_chromadb_optional_providers.py:113
Functiontest_proxies_are_read_as_urllib_reads_them
( variables: dict[str, str], machine: dict[str, str], monkeypatch: pytest.MonkeyPatch )
lib/crewai-core/tests/test_plus_api_proxy.py:185
Functiontest_proxy_environment_is_provider_specific
(monkeypatch)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:421
Methodtest_prune_branch_aware
(self)
lib/crewai/tests/test_checkpoint.py:438
Methodtest_prune_branch_aware
(self)
lib/crewai/tests/test_checkpoint.py:545
Methodtest_prune_keeps_newest
(self)
lib/crewai/tests/test_checkpoint.py:152
Methodtest_prune_more_than_existing
(self)
lib/crewai/tests/test_checkpoint.py:180
Methodtest_prune_treats_directory_and_branch_as_literal_paths
( self, tmp_path: Path, directory: str, branch: str, max_keep: int )
lib/crewai/tests/test_checkpoint.py:129
Methodtest_prune_zero_removes_all
(self)
lib/crewai/tests/test_checkpoint.py:169
Methodtest_psd_is_detected_by_pillow_without_the_restriction
(self)
lib/crewai-files/tests/processing/test_images.py:55
Methodtest_public_import_from_crewai_tools
from crewai_tools import DB2VectorSearchTool must work at package level.
lib/crewai-tools/tests/tools/test_db2_search_tool.py:701
Functiontest_public_schema_and_default_configuration
Verify query validation and the default search result limit.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:47
Functiontest_publish_api_error
( mock_tools_metadata, mock_available_exports, mock_is_synced, mock_publish, mock_fetch,
lib/cli/tests/tools/test_main.py:408
Methodtest_publish_blocked_when_fetch_fails
A failing remote fetch must fail closed, not silently skip syncing.
lib/cli/tests/skills/test_main.py:239
Methodtest_publish_blocked_when_git_not_synced
(self, skill_command)
lib/cli/tests/skills/test_main.py:207
Methodtest_publish_blocked_when_git_state_cannot_be_validated
Git errors other than 'not a repo' must fail closed, not skip the check.
lib/cli/tests/skills/test_main.py:254
Methodtest_publish_calls_api
(self, skill_command)
lib/cli/tests/skills/test_main.py:159
Functiontest_publish_failure
( mock_tools_metadata, mock_available_exports, mock_is_synced, mock_publish, mock_fetch,
lib/cli/tests/tools/test_main.py:358
Methodtest_publish_force_skips_git_check
(self, skill_command)
lib/cli/tests/skills/test_main.py:219
Functiontest_publish_metadata_extraction_failure_continues_with_warning
Test that metadata extraction failure shows warning but continues publishing.
lib/cli/tests/tools/test_main.py:500
Methodtest_publish_missing_name
(self, skill_command)
lib/cli/tests/skills/test_main.py:134
Methodtest_publish_missing_version
(self, skill_command)
lib/cli/tests/skills/test_main.py:126
Methodtest_publish_no_org
(self, skill_command)
lib/cli/tests/skills/test_main.py:142
Methodtest_publish_no_skill_md
(self, skill_command)
lib/cli/tests/skills/test_main.py:121
Methodtest_publish_passes_org_and_force_only
(self, runner, no_experimental_env)
lib/cli/tests/skills/test_cli_commands.py:57
Methodtest_publish_proceeds_outside_git_repo
(self, skill_command)
lib/cli/tests/skills/test_main.py:269
Methodtest_publish_rejects_public_flag
(self, runner, no_experimental_env)
lib/cli/tests/skills/test_cli_commands.py:52
Functiontest_publish_success
( mock_tools_metadata, mock_available_exports, mock_is_synced, mock_publish, mock_fetch,
lib/cli/tests/tools/test_main.py:295
Methodtest_publish_tool
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:222
Methodtest_publish_tool
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:120
Methodtest_publish_tool_with_org_uuid
(self, mock_client_class, mock_settings_class)
lib/cli/tests/test_plus_api.py:251
Methodtest_publish_tool_with_org_uuid
(self, mock_client_class, mock_settings_class)
lib/crewai/tests/cli/test_plus_api.py:149
Methodtest_publish_tool_with_tools_metadata
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:215
Methodtest_publish_tool_without_description
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:289
Methodtest_publish_tool_without_description
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:187
Functiontest_publish_unauthorized_shows_amps_reason_and_asks_for_login
( mock_tools_metadata, mock_available_exports, mock_publish, mock_open, mock_listdir,
lib/cli/tests/tools/test_main.py:454
Methodtest_publish_unauthorized_shows_amps_reason_and_asks_for_login
( self, skill_command, capsys )
lib/cli/tests/skills/test_main.py:182
Functiontest_publish_when_not_in_sync
(mock_repository, capsys, tool_command)
lib/cli/tests/tools/test_main.py:197
Functiontest_publish_when_not_in_sync_and_force
( mock_print_org, mock_tools_metadata, mock_available_exports, mock_is_synced, mock_publis
lib/cli/tests/tools/test_main.py:230
Methodtest_push_and_get_parent
(self)
lib/crewai/tests/events/test_event_context.py:39
Methodtest_push_handler_requires_config
Test that push handler fails gracefully without config.
lib/crewai/tests/a2a/test_a2a_integration.py:299
Methodtest_push_handler_returns_failure_on_timeout
Test that push handler returns failure when result store times out.
lib/crewai/tests/a2a/test_a2a_integration.py:241
Methodtest_push_handler_waits_for_result
Test that push handler waits for result from store.
lib/crewai/tests/a2a/test_a2a_integration.py:176
Methodtest_pushes_latest_event_for_task
(self)
lib/crewai/tests/events/test_event_context.py:233
Functiontest_putting_back_goes_on_past_a_failure_and_keeps_the_runs_own_error
Putting stdout back fails; stderr is put back anyway, every saved copy is closed, and the error the run raised is the one that surfaces.
lib/cli/tests/experimental/test_eval_crew.py:4463
Functiontest_pydantic_and_python_copies_start_separate_conversations
(monkeypatch, clone)
lib/crewai/tests/agents/test_conversation.py:207
Functiontest_pydantic_model_serialization
()
lib/crewai/tests/utilities/test_serialization.py:96
Methodtest_pydantic_model_uses_model_dump
(self)
lib/crewai/tests/events/test_llm_usage_event.py:142
Methodtest_pydantic_output_is_rewritten_into_the_same_model
(self)
lib/crewai/tests/test_human_feedback_decorator.py:946
Methodtest_pydantic_output_parses_a_json_string_response
(self)
lib/crewai/tests/test_human_feedback_decorator.py:956
Functiontest_pydantic_state_default_overlay
()
lib/crewai/tests/test_flow_from_definition.py:3451
Functiontest_pydantic_state_falls_back_to_json_schema_when_ref_unimportable
()
lib/crewai/tests/test_flow_from_definition.py:3487
Functiontest_pydantic_state_from_ref_parity
()
lib/crewai/tests/test_flow_from_definition.py:3443
Functiontest_pydantic_state_without_ref_or_schema_falls_back_to_dict
(caplog)
lib/crewai/tests/test_flow_from_definition.py:3496
Methodtest_python_docstring_still_describes_the_route
(self)
lib/crewai/tests/test_flow_conversation.py:3483
Methodtest_python_handler_docstring_is_projected
(self)
lib/crewai/tests/test_flow_conversation.py:3428
Methodtest_python_iterables_pass_through
( self, raw: Any, expected: list[str] )
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:132
Functiontest_python_mode_keeps_the_live_class_for_telemetry
`when_used="json"` is load-bearing and must not be widened to every mode. `event_listener` hands `event.error_type` to `Telemetry.task_failed`, w
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:481
Methodtest_python_mode_preserves_callable
(self)
lib/crewai/tests/test_callback.py:303
Functiontest_python_that_only_names_an_endpoint_leaves_the_prompt_as_it_was
Annotations, conditions and computed values are not a host to name.
lib/cli/tests/test_api_keys.py:523
Functiontest_qdrant_config_default_without_fastembed_explains_how_to_install
(monkeypatch)
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:182
Functiontest_qdrant_config_keeps_its_local_fastembed_default
Existing QdrantConfig() users get the same keyless local embedder as before.
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:160
Functiontest_qualified_litellm_gpt35_keeps_the_provider_context_window
()
lib/crewai/tests/test_llm.py:385
Functiontest_query_config_filters_results_by_score_threshold
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:272
Functiontest_query_is_sent_with_image
( query_args: dict[str, Any], expected_query: str )
lib/crewai-tools/tests/tools/test_vision_tool.py:145
Functiontest_query_list_conversion
Test that query list is properly converted to string.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:144
Functiontest_query_options
Verify filters, limits, and field options shape the search pipeline.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:228
Functiontest_query_string_does_not_break_extension_fallback
A presigned-style query string does not hide the path's extension.
lib/crewai-tools/tests/url_read_tool_test.py:286
← previousnext →17,001–17,100 of 19,663, ranked by callers