MCPcopy Create free account

hub / github.com/coleam00/PydanticAI-Research-Agent / functions

Functions185 in github.com/coleam00/PydanticAI-Research-Agent

Functionsearch_web
Search the web using Brave Search API. Args: query: Search query max_results: Maximum number of results to return (1-20)
agents/research_agent.py:60
Methodsuccess_func
()
tests/test_tools.py:299
Functionsummarize_research
Create a comprehensive summary of research findings. Args: search_results: List of search result dictionaries topic: Mai
examples/main_agent_reference/research_agent.py:177
Functionsummarize_research
Create a comprehensive summary of research findings. Args: search_results: List of search result dictionaries topic: Mai
agents/research_agent.py:177
Methodtest_agent_async_with_test_model
Test async agent behavior with TestModel.
examples/testing_examples/test_agent_patterns.py:119
Methodtest_agent_custom_test_model_output
Test agent with custom TestModel output.
examples/testing_examples/test_agent_patterns.py:102
Functiontest_agent_delegation_pattern
Test agent delegation with usage tracking.
tests/test_agents.py:76
Functiontest_agent_error_handling
Test agent error handling with invalid inputs.
tests/test_agents.py:94
Functiontest_agent_tool_registration
Test that agent tools are properly registered.
tests/test_agents.py:106
Methodtest_agent_with_test_model
Test agent behavior with TestModel.
examples/testing_examples/test_agent_patterns.py:87
Methodtest_api_key_validation
Test API key validation.
tests/test_tools.py:115
Methodtest_api_tool_with_data
Test API tool with POST data.
examples/testing_examples/test_agent_patterns.py:185
Methodtest_can_make_request_initially
Test that requests are allowed initially.
tests/test_tools.py:255
Methodtest_complete_workflow
Test complete agent workflow with multiple tools.
examples/testing_examples/test_agent_patterns.py:324
Methodtest_database_tool_error
Test database tool with error handling.
examples/testing_examples/test_agent_patterns.py:169
Methodtest_database_tool_success
Test database tool with successful response.
examples/testing_examples/test_agent_patterns.py:152
Methodtest_dependencies
Create mock dependencies for testing.
examples/testing_examples/test_agent_patterns.py:79
Methodtest_dependencies
Create basic test dependencies.
examples/testing_examples/test_agent_patterns.py:206
Methodtest_dependencies
Create test dependencies.
examples/testing_examples/test_agent_patterns.py:249
Functiontest_deps
Create test dependencies.
tests/test_email_agent.py:14
Functiontest_deps
Create test dependencies.
tests/test_research_agent.py:14
Functiontest_email_agent_creation
Test email agent instantiation.
tests/test_agents.py:37
Functiontest_email_agent_dependencies
Test EmailAgentDependencies validation.
tests/test_email_agent.py:84
Functiontest_email_agent_with_test_model
Test email agent with TestModel.
tests/test_email_agent.py:24
Functiontest_email_agent_with_test_model
Test email agent with TestModel.
tests/test_agents.py:60
Functiontest_email_delegation
Test email delegation to email agent.
tests/test_research_agent.py:65
Methodtest_email_draft_required_fields_only
Test email draft with only required fields.
tests/test_models.py:138
Methodtest_email_draft_round_trip
Test EmailDraft serialization round trip.
tests/test_models.py:248
Methodtest_email_validation
Test email address validation.
tests/test_models.py:151
Methodtest_empty_query
Test validation fails for empty queries.
tests/test_tools.py:55
Methodtest_empty_recipients_validation
Test that empty recipients list is handled.
tests/test_models.py:163
Methodtest_empty_results
Test handling of empty search results.
tests/test_tools.py:183
Methodtest_extract_insights_empty_results
Test insight extraction with empty results.
tests/test_tools.py:234
Methodtest_extract_key_insights
Test extraction of key insights from results.
tests/test_tools.py:224
Methodtest_format_empty_results
Test formatting of empty results.
tests/test_tools.py:215
Methodtest_format_search_results
Test formatting of search results.
tests/test_tools.py:205
Methodtest_function_model_custom_behavior
Test agent with FunctionModel for custom behavior.
examples/testing_examples/test_agent_patterns.py:213
Functiontest_gmail_authentication_success
Test successful Gmail authentication.
tests/test_email_agent.py:39
Functiontest_gmail_draft_creation
Test Gmail draft creation.
tests/test_email_agent.py:57
Methodtest_http_error_handling
Test handling of HTTP errors.
tests/test_tools.py:139
Methodtest_invalid_output_handling
Test how agent handles invalid output format.
examples/testing_examples/test_agent_patterns.py:256
Methodtest_long_query
Test validation fails for overly long queries.
tests/test_tools.py:66
Methodtest_max_results_validation
Test max_results parameter validation.
tests/test_tools.py:129
Methodtest_max_retries_exceeded
Test behavior when max retries are exceeded.
tests/test_tools.py:329
Methodtest_missing_required_fields
Test handling of missing required fields in output.
examples/testing_examples/test_agent_patterns.py:277
Functiontest_model_override_isolation
Test that model overrides don't affect original agent.
tests/test_agents.py:123
Methodtest_query_validation
Test query validation in search function.
tests/test_tools.py:122
Methodtest_rate_limit_exceeded
Test rate limit enforcement.
tests/test_tools.py:262
Methodtest_rate_limit_handling
Test rate limit error handling.
tests/test_tools.py:161
Methodtest_rate_limiter_creation
Test rate limiter initialization.
tests/test_tools.py:246
Functiontest_research_agent_creation
Test research agent instantiation.
tests/test_agents.py:30
Functiontest_research_agent_dependencies
Test ResearchAgentDependencies validation.
tests/test_research_agent.py:78
Functiontest_research_agent_with_test_model
Test research agent with TestModel for rapid development.
tests/test_agents.py:45
Functiontest_research_agent_with_test_model
Test research agent with TestModel.
tests/test_research_agent.py:25
Methodtest_research_summary_automatic_timestamp
Test that timestamp is automatically set.
tests/test_models.py:88
Methodtest_research_summary_json_serialization
Test ResearchSummary JSON serialization.
tests/test_models.py:269
Methodtest_research_summary_with_empty_lists
Test research summary with empty results and insights.
tests/test_models.py:104
Methodtest_research_to_email_workflow
Test complete research to email workflow.
tests/test_agents.py:143
Methodtest_retry_on_failure
Test retry behavior on failures.
tests/test_tools.py:306
Methodtest_search_query_default_max_results
Test search query with default max_results.
tests/test_models.py:187
Methodtest_search_query_max_results_validation
Test max_results validation.
tests/test_models.py:208
Methodtest_search_query_validation_max_length
Test query maximum length validation.
tests/test_models.py:200
Methodtest_search_query_validation_min_length
Test query minimum length validation.
tests/test_models.py:194
Methodtest_search_result_round_trip
Test SearchResult serialization round trip.
tests/test_models.py:227
Methodtest_search_result_serialization
Test JSON serialization of search result.
tests/test_models.py:44
Methodtest_search_result_without_score
Test search result without score (optional field).
tests/test_models.py:33
Functiontest_search_web_error_handling
Test error handling in search functionality.
tests/test_research_agent.py:93
Functiontest_search_web_tool
Test web search functionality with mock.
tests/test_research_agent.py:40
Methodtest_successful_operation_no_retry
Test that successful operations don't retry.
tests/test_tools.py:296
Methodtest_successful_search
Test successful API search with mocked response.
tests/test_tools.py:77
Methodtest_tool_error_recovery
Test agent behavior when tools fail.
examples/testing_examples/test_agent_patterns.py:362
Methodtest_usage_tracking_across_agents
Test usage tracking works across agent delegation.
tests/test_agents.py:158
Methodtest_valid_email_draft
Test creation of valid email draft.
tests/test_models.py:121
Methodtest_valid_query
Test validation of valid queries.
tests/test_tools.py:48
Methodtest_valid_research_summary
Test creation of valid research summary.
tests/test_models.py:64
Methodtest_valid_search_query
Test creation of valid search query.
tests/test_models.py:176
Methodtest_valid_search_result
Test creation of valid search result.
tests/test_models.py:18
Methodtest_wait_if_needed
Test waiting behavior when not rate limited.
tests/test_tools.py:274
Methodtest_whitespace_cleanup
Test that extra whitespace is cleaned up.
tests/test_tools.py:60
Methodvalidate_api_keys
Ensure API keys are not empty.
examples/main_agent_reference/settings.py:47
Methodvalidate_api_keys
Ensure API keys are not empty.
config/settings.py:48
Functionvalidate_gmail_setup
Validate Gmail OAuth2 setup.
tools/gmail_tools.py:182
Functionvalidate_llm_configuration
Validate that LLM configuration is properly set. Returns: True if configuration is valid
examples/main_agent_reference/providers.py:48
Functionvalidate_llm_configuration
Validate that LLM configuration is properly set. Returns: True if configuration is valid
config/providers.py:47
Functionweb_search
Search the web for current information. Args: query: Search query string max_results: Maximum number of results to retur
examples/tool_enabled_agent/agent.py:106
← previous101–185 of 185, ranked by callers