MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_flow_with_image_file
Test flow passes input_files to crew.
lib/crewai/tests/test_flow_multimodal.py:101
Methodtest_flow_with_image_file
Test flow passes input_files to crew.
lib/crewai/tests/test_flow_multimodal.py:143
Methodtest_flow_with_image_file
Test flow with image file.
lib/crewai/tests/test_flow_multimodal.py:185
Methodtest_flow_with_mixed_files
Test flow with multiple file types.
lib/crewai/tests/test_flow_multimodal.py:303
Methodtest_flow_with_multiple_crews
Test flow passes files through multiple crews.
lib/crewai/tests/test_flow_multimodal.py:265
Functiontest_flow_with_multiple_starts
Test a flow with multiple start methods.
lib/crewai/tests/test_flow.py:41
Methodtest_flow_with_name_uses_name_for_root_scope
Flow with custom name uses that name for root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:631
Methodtest_flow_with_neither_stays_non_conversational
(self)
lib/crewai/tests/test_flow_conversation.py:2337
Functiontest_flow_with_or_condition
Test a flow where a step is triggered when any of multiple steps complete.
lib/crewai/tests/test_flow.py:137
Methodtest_flow_with_pdf_file
Test flow with PDF file.
lib/crewai/tests/test_flow_multimodal.py:162
Functiontest_flow_with_router
Test a flow that uses a router method to determine the next step.
lib/crewai/tests/test_flow.py:266
Methodtest_flow_with_text_file
Test flow with text file.
lib/crewai/tests/test_flow_multimodal.py:204
Methodtest_flow_with_video_file
Test flow with video file.
lib/crewai/tests/test_flow_multimodal.py:223
Functiontest_flow_without_trigger_payload
()
lib/crewai/tests/test_flow.py:816
Functiontest_flush_to_central
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:203
Functiontest_folder_in_use_by_another_client_gives_a_clear_error
(tmp_path)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:93
Methodtest_follow_up_task_that_defers_is_told_earlier_artifacts_are_deleted
( self, use_async: bool )
lib/crewai/tests/agents/test_agent_executor.py:3143
Methodtest_follow_up_task_that_defers_nothing_has_no_reader
( self, use_async: bool )
lib/crewai/tests/agents/test_agent_executor.py:3167
Methodtest_follow_up_turn_keeps_history
(self)
lib/crewai/tests/test_flow_conversation.py:3550
Methodtest_force_safe_paths_does_not_affect_unlisted_hosts_message
( self, monkeypatch )
lib/crewai-tools/tests/utilities/test_safe_path.py:231
Methodtest_force_safe_paths_overrides_escape_hatch
Managed workers can ignore a tenant-supplied escape hatch.
lib/crewai-tools/tests/utilities/test_safe_path.py:288
Methodtest_forced_answer_request_ends_on_a_user_turn
(self)
lib/crewai/tests/agents/test_agent_executor.py:3423
Methodtest_forced_terminal_on_file_renders_final_panel_once
( self, clean_terminal_env: pytest.MonkeyPatch, env_name: str, env_value: str )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:175
Methodtest_forced_terminal_on_file_renders_tool_arguments_once
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:191
Methodtest_forced_terminal_on_file_writes_nothing_while_stream_stalls
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:205
Functiontest_foreign_duplicate_and_stale_client_observations_cannot_release_floor
()
lib/crewai/tests/test_flow_replies.py:188
Functiontest_foreign_repo_reference_closes_pr
()
lib/crewai/tests/ci/test_ftc_require_issue.py:115
Functiontest_forged_sheet_dimension_is_bounded_by_the_scan_budget
A forged dimension must not buy unbounded work off a 5 KB upload. Blank rows are skipped, so budgeting only emitted cells left the padding fr
lib/crewai-tools/tests/url_read_tool_test.py:743
Methodtest_fork_auto_branch
(self)
lib/crewai/tests/test_checkpoint.py:324
Functiontest_fork_conflict_with_from_checkpoint_raises
Passing both from_checkpoint and restore_from_state_id raises ValueError, naming both parameters.
lib/crewai/tests/test_flow_persistence.py:408
Methodtest_fork_no_checkpoint_id_unique
(self)
lib/crewai/tests/test_checkpoint.py:331
Methodtest_fork_sets_branch
(self)
lib/crewai/tests/test_checkpoint.py:316
Functiontest_fork_via_akickoff
akickoff is the public async alias and must accept restore_from_state_id with the same semantics as kickoff_async.
lib/crewai/tests/test_flow_persistence.py:457
Functiontest_fork_via_kickoff_async
kickoff_async honors restore_from_state_id: hydrates from source, mints fresh state.id, persists under the new id, source history preserved.
lib/crewai/tests/test_flow_persistence.py:430
Functiontest_fork_with_definition_branches_yaml_flow
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:4538
Functiontest_fork_with_pinned_state_id
Fork into a pinned state.id (inputs.id supplied alongside restore_from_state_id): the new run uses inputs.id as state.id and hydrates from restore
lib/crewai/tests/test_flow_persistence.py:337
Functiontest_fork_with_restore_from_state_id
Fork: restore_from_state_id hydrates state from source flow_uuid; new run gets a fresh state.id; source's history is preserved (the fork's @persis
lib/crewai/tests/test_flow_persistence.py:297
Functiontest_forked_child_does_not_delete_or_reuse_the_parents_default_folder
( tmp_path, monkeypatch )
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:244
Methodtest_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:714
Methodtest_format_empty_files_dict
Test empty files dict returns empty list.
lib/crewai/tests/llms/test_multimodal.py:417
Functiontest_format_json_in_text_still_pretty_prints_valid_json
()
lib/cli/tests/test_crew_run_tui.py:2514
Functiontest_format_json_in_text_survives_deep_nesting
The render path must contain the failure instead of losing the TUI update.
lib/cli/tests/test_crew_run_tui.py:2490
Functiontest_format_json_in_text_survives_literal_ellipsis
A streamed [...] must render as-is instead of crashing the TUI (issue #7434).
lib/cli/tests/test_crew_run_tui.py:2479
Methodtest_format_mixed_supported_and_unsupported
Test only supported types are formatted.
lib/crewai/tests/llms/test_multimodal.py:404
Methodtest_format_multimodal_content_image
Test formatting image content.
lib/crewai/tests/llms/test_multimodal.py:95
Methodtest_format_multimodal_content_image
Test Anthropic image format uses source-based structure.
lib/crewai/tests/llms/test_multimodal.py:140
Methodtest_format_multimodal_content_image
Test OpenAI uses image_url format.
lib/crewai/tests/llms/test_multimodal.py:201
Methodtest_format_multimodal_content_image
Test Gemini uses inlineData format.
lib/crewai/tests/llms/test_multimodal.py:224
Methodtest_format_multimodal_content_image
Test Azure uses same format as OpenAI.
lib/crewai/tests/llms/test_multimodal.py:275
Methodtest_format_multimodal_content_image
Test Bedrock uses Converse API image format.
lib/crewai/tests/llms/test_multimodal.py:336
Methodtest_format_multimodal_content_pdf
Test Anthropic PDF format uses document structure.
lib/crewai/tests/llms/test_multimodal.py:153
Methodtest_format_multimodal_content_pdf
Test Bedrock uses Converse API document format.
lib/crewai/tests/llms/test_multimodal.py:349
Methodtest_format_multimodal_content_unsupported_type
Test unsupported content type is skipped.
lib/crewai/tests/llms/test_multimodal.py:106
Methodtest_format_multiple_images
Test formatting multiple images.
lib/crewai/tests/llms/test_multimodal.py:392
Methodtest_format_prompt
Test prompt formatting.
lib/crewai/tests/agents/test_agent_executor.py:737
Methodtest_format_responses_pdf_with_concrete_gpt_model
Test OpenAI Responses PDF support with an inferred GPT provider.
lib/crewai/tests/llms/test_multimodal.py:115
Methodtest_format_text_content
Test Gemini text format uses simple text key.
lib/crewai/tests/llms/test_multimodal.py:236
Methodtest_formatted_description_contains_composite
(self)
lib/crewai/tests/tools/test_base_tool.py:740
Methodtest_formatted_description_tracks_later_description_edits
(self)
lib/crewai/tests/tools/test_base_tool.py:748
Functiontest_formatting_does_not_mutate_caller_content
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:261
Methodtest_formatting_far_from_the_data_is_not_a_value
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:215
Methodtest_forwarded_for_every_reasoning_model
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:113
Methodtest_forwarded_through_a_provider_subclass
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:514
Methodtest_fresh_intent_classified_this_turn_still_routes
The legacy ``default_intents`` path classifies per turn and must keep routing on the freshly classified intent — including when the in
lib/crewai/tests/test_flow_conversation.py:1790
Methodtest_from_checkpoint_sets_checkpoint_id
from_checkpoint sets _checkpoint_id from the location, not the blob.
lib/crewai/tests/test_checkpoint.py:301
Functiontest_from_checkpoint_with_definition_restores_yaml_flow
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:4528
Functiontest_from_declaration_local_scope_ref_raises
()
lib/crewai/tests/test_flow_from_definition.py:646
Functiontest_from_declaration_malformed_ref_raises
()
lib/crewai/tests/test_flow_from_definition.py:633
Functiontest_from_declaration_runs_tool_action_with_static_inputs
()
lib/crewai/tests/test_flow_from_definition.py:671
Functiontest_from_declaration_unresolvable_ref_raises
()
lib/crewai/tests/test_flow_from_definition.py:615
Methodtest_from_dict_deserialization
Test deserializing context from dictionary.
lib/crewai/tests/test_async_human_feedback.py:100
Functiontest_from_function
Test creating tool from function
lib/crewai/tests/tools/test_structured_tool.py:79
Functiontest_from_function_does_not_infer_non_pydantic_result_schema
()
lib/crewai/tests/tools/test_structured_tool.py:167
Functiontest_from_function_returns_raw_result_and_json_agent_text
( func, result_schema, expected_raw, expected_agent_payload, )
lib/crewai/tests/tools/test_structured_tool.py:146
Methodtest_from_pending_raises_for_missing_flow
Test that from_pending raises error for nonexistent flow.
lib/crewai/tests/test_async_human_feedback.py:442
Methodtest_from_pending_restores_state
Test that from_pending correctly restores flow state.
lib/crewai/tests/test_async_human_feedback.py:456
Methodtest_from_pending_uses_default_persistence
Test that from_pending uses SQLiteFlowPersistence by default.
lib/crewai/tests/test_async_human_feedback.py:431
Functiontest_from_tool_name
Test creating tool from tool name.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:225
Functiontest_from_tool_name_with_custom_base_url
Test creating tool from tool name with custom base URL.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:244
Functiontest_from_tool_pack_all_tools
Test creating all tools from a Tool Pack.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:262
Functiontest_from_tool_pack_specific_tools
Test creating specific tools from a Tool Pack.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:280
Functiontest_from_tool_pack_with_custom_base_url
Test creating tools from Tool Pack with custom base URL.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:298
Functiontest_from_tuple_still_works_for_both_directions
()
lib/crewai/tests/utilities/test_guardrail_result_exclusivity.py:36
Methodtest_frozen
(self)
lib/crewai/tests/skills/test_models.py:53
Methodtest_full_async_flow_cycle
Test complete async flow: start -> pause -> resume.
lib/crewai/tests/test_async_human_feedback.py:948
Methodtest_full_fixture_skill
(self)
lib/crewai/tests/skills/test_integration.py:55
Methodtest_full_plan_execution_workflow
Test complete workflow from plan to todos to execution.
lib/crewai/tests/utilities/test_structured_planning.py:575
Methodtest_full_precedence_chain
tool > task > agent > crew > warn.
lib/crewai/tests/tools/test_tool_failure.py:238
Functiontest_func
Test function with basic params.
lib/crewai/tests/tools/test_structured_tool.py:10
Methodtest_function_can_be_called
Test that the returned function can be called.
lib/crewai/tests/utilities/test_agent_utils.py:541
Methodtest_functions_dict_contains_callables
Test that the functions dict maps names to callable run methods.
lib/crewai/tests/utilities/test_agent_utils.py:531
Functiontest_future_base_tool_field_auto_excluded
If a new field is added to BaseTool in the future, it should be automatically excluded from spec generation without needing to update the igno
lib/crewai-tools/tests/test_generate_tool_specs.py:266
Methodtest_future_family_members_need_no_release
The staleness this replaced: an unreleased family must still match.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:186
Functiontest_gemini_1_5_response_model_uses_response_schema
Test that Gemini 1.5 models use response_schema parameter (not response_json_schema).
lib/crewai/tests/llms/google/test_google.py:1108
Functiontest_gemini_2_0_model_detection
Test that Gemini 2.0 models are properly detected.
lib/crewai/tests/llms/google/test_google.py:1015
Functiontest_gemini_2_0_response_model_with_property_ordering
Test that Gemini 2.0 models include propertyOrdering in response schemas.
lib/crewai/tests/llms/google/test_google.py:1080
Functiontest_gemini_agent_kickoff_structured_output_with_tools
Test that agent kickoff returns structured output after using tools. This tests post-tool-call structured output handling for Gemini models.
lib/crewai/tests/llms/google/test_google.py:1173
Functiontest_gemini_agent_kickoff_structured_output_without_tools
Test that agent kickoff returns structured output without tools. This tests native structured output handling for Gemini models.
lib/crewai/tests/llms/google/test_google.py:1137
Methodtest_gemini_agent_kickoff_with_tools_mocked
Test Gemini agent kickoff with mocked LLM call.
lib/crewai/tests/agents/test_native_tool_calling.py:601
Methodtest_gemini_agent_with_native_tool_calling
Test Gemini agent can use native tool calling.
lib/crewai/tests/agents/test_native_tool_calling.py:576
← previousnext →14,001–14,100 of 19,482, ranked by callers