Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
Function
test_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
Function
test_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
Method
test_format_mixed_supported_and_unsupported
Test only supported types are formatted.
lib/crewai/tests/llms/test_multimodal.py:404
Method
test_format_multimodal_content_image
Test formatting image content.
lib/crewai/tests/llms/test_multimodal.py:95
Method
test_format_multimodal_content_image
Test Anthropic image format uses source-based structure.
lib/crewai/tests/llms/test_multimodal.py:140
Method
test_format_multimodal_content_image
Test OpenAI uses image_url format.
lib/crewai/tests/llms/test_multimodal.py:201
Method
test_format_multimodal_content_image
Test Gemini uses inlineData format.
lib/crewai/tests/llms/test_multimodal.py:224
Method
test_format_multimodal_content_image
Test Azure uses same format as OpenAI.
lib/crewai/tests/llms/test_multimodal.py:275
Method
test_format_multimodal_content_image
Test Bedrock uses Converse API image format.
lib/crewai/tests/llms/test_multimodal.py:336
Method
test_format_multimodal_content_pdf
Test Anthropic PDF format uses document structure.
lib/crewai/tests/llms/test_multimodal.py:153
Method
test_format_multimodal_content_pdf
Test Bedrock uses Converse API document format.
lib/crewai/tests/llms/test_multimodal.py:349
Method
test_format_multimodal_content_unsupported_type
Test unsupported content type is skipped.
lib/crewai/tests/llms/test_multimodal.py:106
Method
test_format_multiple_images
Test formatting multiple images.
lib/crewai/tests/llms/test_multimodal.py:392
Method
test_format_prompt
Test prompt formatting.
lib/crewai/tests/agents/test_agent_executor.py:737
Method
test_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
Method
test_format_text_content
Test Gemini text format uses simple text key.
lib/crewai/tests/llms/test_multimodal.py:236
Method
test_formatted_description_contains_composite
(self)
lib/crewai/tests/tools/test_base_tool.py:740
Method
test_formatted_description_tracks_later_description_edits
(self)
lib/crewai/tests/tools/test_base_tool.py:748
Function
test_formatting_does_not_mutate_caller_content
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:261
Method
test_formatting_far_from_the_data_is_not_a_value
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:215
Method
test_forwarded_for_every_reasoning_model
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:113
Method
test_forwarded_through_a_provider_subclass
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:514
Method
test_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
Method
test_from_checkpoint_sets_checkpoint_id
from_checkpoint sets _checkpoint_id from the location, not the blob.
lib/crewai/tests/test_checkpoint.py:301
Function
test_from_checkpoint_with_definition_restores_yaml_flow
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:4528
Function
test_from_declaration_local_scope_ref_raises
()
lib/crewai/tests/test_flow_from_definition.py:646
Function
test_from_declaration_malformed_ref_raises
()
lib/crewai/tests/test_flow_from_definition.py:633
Function
test_from_declaration_runs_tool_action_with_static_inputs
()
lib/crewai/tests/test_flow_from_definition.py:671
Function
test_from_declaration_unresolvable_ref_raises
()
lib/crewai/tests/test_flow_from_definition.py:615
Method
test_from_dict_deserialization
Test deserializing context from dictionary.
lib/crewai/tests/test_async_human_feedback.py:100
Function
test_from_function
Test creating tool from function
lib/crewai/tests/tools/test_structured_tool.py:79
Function
test_from_function_does_not_infer_non_pydantic_result_schema
()
lib/crewai/tests/tools/test_structured_tool.py:167
Function
test_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
Method
test_from_pending_raises_for_missing_flow
Test that from_pending raises error for nonexistent flow.
lib/crewai/tests/test_async_human_feedback.py:442
Method
test_from_pending_restores_state
Test that from_pending correctly restores flow state.
lib/crewai/tests/test_async_human_feedback.py:456
Method
test_from_pending_uses_default_persistence
Test that from_pending uses SQLiteFlowPersistence by default.
lib/crewai/tests/test_async_human_feedback.py:431
Function
test_from_tool_name
Test creating tool from tool name.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:225
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_from_tuple_still_works_for_both_directions
()
lib/crewai/tests/utilities/test_guardrail_result_exclusivity.py:36
Method
test_frozen
(self)
lib/crewai/tests/skills/test_models.py:53
Method
test_full_async_flow_cycle
Test complete async flow: start -> pause -> resume.
lib/crewai/tests/test_async_human_feedback.py:948
Method
test_full_fixture_skill
(self)
lib/crewai/tests/skills/test_integration.py:55
Method
test_full_plan_execution_workflow
Test complete workflow from plan to todos to execution.
lib/crewai/tests/utilities/test_structured_planning.py:575
Method
test_full_precedence_chain
tool > task > agent > crew > warn.
lib/crewai/tests/tools/test_tool_failure.py:238
Function
test_func
Test function with basic params.
lib/crewai/tests/tools/test_structured_tool.py:10
Method
test_function_can_be_called
Test that the returned function can be called.
lib/crewai/tests/utilities/test_agent_utils.py:541
Method
test_functions_dict_contains_callables
Test that the functions dict maps names to callable run methods.
lib/crewai/tests/utilities/test_agent_utils.py:531
Function
test_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
Method
test_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
Function
test_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
Function
test_gemini_2_0_model_detection
Test that Gemini 2.0 models are properly detected.
lib/crewai/tests/llms/google/test_google.py:1015
Function
test_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
Function
test_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
Function
test_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
Method
test_gemini_agent_kickoff_with_tools_mocked
Test Gemini agent kickoff with mocked LLM call.
lib/crewai/tests/agents/test_native_tool_calling.py:601
Method
test_gemini_agent_with_native_tool_calling
Test Gemini agent can use native tool calling.
lib/crewai/tests/agents/test_native_tool_calling.py:576
Function
test_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
Function
test_gemini_async_basic_call
Test basic async call with Gemini.
lib/crewai/tests/llms/google/test_google_async.py:12
Function
test_gemini_async_conversation
Test async call with conversation history.
lib/crewai/tests/llms/google/test_google_async.py:67
Function
test_gemini_async_multiple_calls
Test making multiple async calls in sequence.
lib/crewai/tests/llms/google/test_google_async.py:85
Function
test_gemini_async_with_max_tokens
Test async call with max_tokens parameter.
lib/crewai/tests/llms/google/test_google_async.py:37
Function
test_gemini_async_with_parameters
Test async call with multiple parameters.
lib/crewai/tests/llms/google/test_google_async.py:100
Function
test_gemini_async_with_system_message
Test async call with system message.
lib/crewai/tests/llms/google/test_google_async.py:50
Function
test_gemini_async_with_temperature
Test async call with temperature parameter.
lib/crewai/tests/llms/google/test_google_async.py:25
Function
test_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
Function
test_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
Function
test_gemini_completion_call
Test that GeminiCompletion call method works
lib/crewai/tests/llms/google/test_google.py:283
Function
test_gemini_completion_call_arguments
Test that GeminiCompletion.call is invoked with correct arguments
lib/crewai/tests/llms/google/test_google.py:324
Function
test_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
Function
test_gemini_completion_initialization_parameters
Test that GeminiCompletion is initialized with correct parameters
lib/crewai/tests/llms/google/test_google.py:120
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Method
test_gemini_config
Test Gemini configuration mapping.
lib/crewai-tools/tests/rag/test_embedding_service.py:319
Method
test_gemini_constraints
Test Gemini constraints are properly defined.
lib/crewai-files/tests/processing/test_constraints.py:162
Function
test_gemini_context_window_size
Test that Gemini models return correct context window sizes
lib/crewai/tests/llms/google/test_google.py:584
Function
test_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
Function
test_gemini_developer_input_token_count
Gemini Developer API counts input tokens through its native endpoint.
lib/crewai/tests/llms/google/test_google.py:215
Function
test_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
Function
test_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
Function
test_gemini_environment_variable_api_key
Test that Google API key is properly loaded from environment
lib/crewai/tests/llms/google/test_google.py:798
Method
test_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
Function
test_gemini_generation_config
Test that generation config is properly prepared
lib/crewai/tests/llms/google/test_google.py:533
Function
test_gemini_honors_google_api_key
(monkeypatch)
lib/cli/tests/test_model_catalog.py:327
Function
test_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
Function
test_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
Function
test_gemini_litellm_appends_user_message_when_last_is_assistant
(gemini_litellm_llm)
lib/crewai/tests/test_llm.py:995
Function
test_gemini_litellm_does_not_modify_when_last_is_user
(gemini_litellm_llm)
lib/crewai/tests/test_llm.py:1007
Method
test_gemini_llm_accepts_interceptor_parameter
Test that Gemini LLM raises NotImplementedError with interceptor.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:150
Function
test_gemini_message_formatting
Test that messages are properly formatted for Gemini API
lib/crewai/tests/llms/google/test_google.py:604
Function
test_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
Function
test_gemini_message_formatting_leaves_user_terminated_history_unchanged
()
lib/crewai/tests/llms/google/test_google.py:724
Function
test_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
Function
test_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
Function
test_gemini_message_formatting_raises_on_unresolved_function_call
()
lib/crewai/tests/llms/google/test_google.py:736
Function
test_gemini_message_names_the_vertex_alternative
()
lib/crewai/tests/llms/test_missing_api_key.py:220
← previous
next →
13,901–14,000 of 19,264, ranked by callers