MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

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
Functiontest_gemini_api_key_configuration
Test that API key configuration works for both GOOGLE_API_KEY and GEMINI_API_KEY
lib/crewai/tests/llms/google/test_google.py:499
Functiontest_gemini_async_basic_call
Test basic async call with Gemini.
lib/crewai/tests/llms/google/test_google_async.py:12
Functiontest_gemini_async_conversation
Test async call with conversation history.
lib/crewai/tests/llms/google/test_google_async.py:67
Functiontest_gemini_async_multiple_calls
Test making multiple async calls in sequence.
lib/crewai/tests/llms/google/test_google_async.py:85
Functiontest_gemini_async_with_max_tokens
Test async call with max_tokens parameter.
lib/crewai/tests/llms/google/test_google_async.py:37
Functiontest_gemini_async_with_parameters
Test async call with multiple parameters.
lib/crewai/tests/llms/google/test_google_async.py:100
Functiontest_gemini_async_with_system_message
Test async call with system message.
lib/crewai/tests/llms/google/test_google_async.py:50
Functiontest_gemini_async_with_temperature
Test async call with temperature parameter.
lib/crewai/tests/llms/google/test_google_async.py:25
Functiontest_gemini_cached_prompt_tokens
Test that Gemini correctly extracts and tracks cached_prompt_tokens from cached_content_token_count in the usage metadata. Sends two call
lib/crewai/tests/llms/google/test_google.py:1351
Functiontest_gemini_cached_prompt_tokens_with_tools
Test that Gemini correctly tracks cached_prompt_tokens when tools are used. The large system prompt should be cached across tool-calling requ
lib/crewai/tests/llms/google/test_google.py:1383
Functiontest_gemini_completion_call
Test that GeminiCompletion call method works
lib/crewai/tests/llms/google/test_google.py:283
Functiontest_gemini_completion_call_arguments
Test that GeminiCompletion.call is invoked with correct arguments
lib/crewai/tests/llms/google/test_google.py:324
Functiontest_gemini_completion_called_during_crew_execution
Test that GeminiCompletion.call is actually invoked when running a crew
lib/crewai/tests/llms/google/test_google.py:296
Functiontest_gemini_completion_initialization_parameters
Test that GeminiCompletion is initialized with correct parameters
lib/crewai/tests/llms/google/test_google.py:120
Functiontest_gemini_completion_is_used_when_gemini_provider
Test that GeminiCompletion is used when provider is 'gemini'
lib/crewai/tests/llms/google/test_google.py:49
Functiontest_gemini_completion_is_used_when_google_provider
Test that GeminiCompletion is used when LLM uses provider 'google'
lib/crewai/tests/llms/google/test_google.py:30
Functiontest_gemini_completion_module_is_imported
Test that the completion module is properly imported when using Google provider
lib/crewai/tests/llms/google/test_google.py:62
Functiontest_gemini_completion_with_tools
Test that GeminiCompletion.call is invoked with tools when agent has tools
lib/crewai/tests/llms/google/test_google.py:406
Methodtest_gemini_config
Test Gemini configuration mapping.
lib/crewai-tools/tests/rag/test_embedding_service.py:319
Methodtest_gemini_constraints
Test Gemini constraints are properly defined.
lib/crewai-files/tests/processing/test_constraints.py:162
Functiontest_gemini_context_window_size
Test that Gemini models return correct context window sizes
lib/crewai/tests/llms/google/test_google.py:584
Functiontest_gemini_crew_structured_output_with_tools
Test that a crew with Gemini can use both tools and output_pydantic on a task.
lib/crewai/tests/llms/google/test_google.py:1216
Functiontest_gemini_developer_input_token_count
Gemini Developer API counts input tokens through its native endpoint.
lib/crewai/tests/llms/google/test_google.py:215
Functiontest_gemini_developer_token_count_forwards_supported_content
Developer API counting succeeds when the prompt has no unsupported context.
lib/crewai/tests/llms/google/test_google.py:198
Functiontest_gemini_developer_token_count_uses_character_fallback_for_unrepresentable_context
Unsupported Developer API context falls back to the character estimate.
lib/crewai/tests/llms/google/test_google.py:173
Functiontest_gemini_environment_variable_api_key
Test that Google API key is properly loaded from environment
lib/crewai/tests/llms/google/test_google.py:798
Methodtest_gemini_error_message_is_clear
Test that Gemini error message clearly states lack of support.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:228
Functiontest_gemini_generation_config
Test that generation config is properly prepared
lib/crewai/tests/llms/google/test_google.py:533
Functiontest_gemini_honors_google_api_key
(monkeypatch)
lib/cli/tests/test_model_catalog.py:327
Functiontest_gemini_input_token_count_forwards_generation_context_for_vertex
Vertex Count Tokens receives the same prompt context as completion.
lib/crewai/tests/llms/google/test_google.py:142
Functiontest_gemini_lazy_build_reads_env_vars_set_after_construction
When `LLM(model="gemini/...")` is constructed before env vars are set, the lazy client builder must re-read `GOOGLE_API_KEY` / `GEMINI_API_KEY`
lib/crewai/tests/llms/google/test_google.py:80
Functiontest_gemini_litellm_appends_user_message_when_last_is_assistant
(gemini_litellm_llm)
lib/crewai/tests/test_llm.py:995
Functiontest_gemini_litellm_does_not_modify_when_last_is_user
(gemini_litellm_llm)
lib/crewai/tests/test_llm.py:1007
Methodtest_gemini_llm_accepts_interceptor_parameter
Test that Gemini LLM raises NotImplementedError with interceptor.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:150
Functiontest_gemini_message_formatting
Test that messages are properly formatted for Gemini API
lib/crewai/tests/llms/google/test_google.py:604
Functiontest_gemini_message_formatting_appends_user_turn_after_trailing_model_turn
Gemini's generateContent API rejects a request whose history ends on a model turn ("Requests ending with a model turn are not supported"). Ag
lib/crewai/tests/llms/google/test_google.py:694
Functiontest_gemini_message_formatting_leaves_user_terminated_history_unchanged
()
lib/crewai/tests/llms/google/test_google.py:724
Functiontest_gemini_message_formatting_preserves_file_data
Test that Gemini file references are preserved in their original order.
lib/crewai/tests/llms/google/test_google.py:636
Functiontest_gemini_message_formatting_preserves_file_data_without_text
Test that a message containing only a file reference is preserved.
lib/crewai/tests/llms/google/test_google.py:666
Functiontest_gemini_message_formatting_raises_on_unresolved_function_call
()
lib/crewai/tests/llms/google/test_google.py:736
Functiontest_gemini_message_names_the_vertex_alternative
()
lib/crewai/tests/llms/test_missing_api_key.py:220
← previousnext →13,901–14,000 of 19,264, ranked by callers