pydantic-ai 1.0.11__tar.gz → 1.0.13__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pydantic-ai might be problematic. Click here for more details.
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/PKG-INFO +4 -4
- pydantic_ai-1.0.13/tests/assets/dummy.txt +1 -0
- pydantic_ai-1.0.13/tests/cassettes/test_mcp/test_tool_returning_unstructured_dict.yaml +520 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/conftest.py +8 -2
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_dataset.py +43 -10
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_evaluators.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/mcp_server.py +8 -2
- pydantic_ai-1.0.13/tests/models/cassettes/test_anthropic/test_anthropic_memory_tool.yaml +159 -0
- pydantic_ai-1.0.13/tests/models/cassettes/test_openai/test_text_document_as_binary_content_input.yaml +88 -0
- pydantic_ai-1.0.13/tests/models/cassettes/test_openai/test_text_document_url_input.yaml +341 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_anthropic.py +64 -6
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_bedrock.py +3 -3
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_cohere.py +6 -4
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_deepseek.py +2 -2
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_download_item.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_fallback.py +4 -2
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_gemini.py +6 -3
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_gemini_vertex.py +3 -3
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_google.py +9 -7
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_groq.py +9 -5
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_huggingface.py +4 -48
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_instrumented.py +2 -2
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_mcp_sampling.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_mistral.py +3 -3
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_model_function.py +4 -2
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_model_settings.py +41 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_model_test.py +5 -3
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_openai.py +49 -5
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_openai_responses.py +8 -6
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/parts_from_messages.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_azure.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_bedrock.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_cerebras.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_fireworks.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_github.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_groq.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_huggingface.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_ollama.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_openrouter.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_together.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_vercel.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_a2a.py +2 -2
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_ag_ui.py +5 -5
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_agent.py +355 -18
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_cli.py +1 -2
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_dbos.py +7 -5
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_examples.py +9 -7
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_history_processor.py +4 -3
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_logfire.py +323 -30
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_mcp.py +91 -15
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_messages.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_parts_manager.py +3 -3
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_streaming.py +8 -4
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_temporal.py +8 -5
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_thinking_part.py +1 -1
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_tools.py +9 -6
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_toolsets.py +11 -8
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_usage_limits.py +10 -2
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/.gitignore +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/LICENSE +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/Makefile +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/README.md +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/pyproject.toml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/__init__.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/assets/dummy.pdf +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/assets/kiwi.png +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/assets/marcelo.mp3 +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/assets/product_name.txt +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/assets/small_video.mp4 +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_complex_agent_run.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_complex_agent_run_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_complex_agent_run_stream_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_iter.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_iter_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_override_deps_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_override_tools_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_run.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_run_in_workflow_with_toolsets.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_run_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_run_sync.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_run_sync_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_with_dataclass_deps_as_dict.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_with_hitl_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_with_hitl_tool_sync.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_with_model_retry.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_with_non_dict_deps.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_agent_with_unserializable_deps_type.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_dbos_model_stream_direct.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_multiple_agents.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_dbos/test_simple_agent_run_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_agent_with_server_not_running.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_agent_with_stdio_server.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_audio_resource.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_audio_resource_link.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_dict.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_error.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_image.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_image_resource.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_image_resource_link.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_multiple_items.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_none.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_str.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_text_resource.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_mcp/test_tool_returning_text_resource_link.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_settings/test_stop_settings[anthropic].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_settings/test_stop_settings[bedrock].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_settings/test_stop_settings[cohere].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_settings/test_stop_settings[gemini].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_settings/test_stop_settings[google].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_settings/test_stop_settings[groq].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_settings/test_stop_settings[mistral].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_settings/test_stop_settings[openai].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_complex_agent_run.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_complex_agent_run_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_complex_agent_run_stream_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_logfire_plugin.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_multiple_agents.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_simple_agent_run_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_iter.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_override_deps_in_workflow.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_run.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_run_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_run_sync.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_sync_tool_activity_disabled.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_with_dataclass_deps_as_dict.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_with_hitl_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_with_model_retry.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_with_non_dict_deps.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/cassettes/test_temporal/test_temporal_agent_with_unserializable_deps_type.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/__init__.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_evaluator_base.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_evaluator_common.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_evaluator_context.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_evaluator_spec.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_llm_as_a_judge.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_otel.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_render_numbers.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_reporting.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_reports.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/test_utils.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/evals/utils.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/example_modules/README.md +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/example_modules/bank_database.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/example_modules/fake_database.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/example_modules/mcp_server.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/example_modules/weather_service.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/ext/__init__.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/ext/test_langchain.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/graph/__init__.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/graph/test_file_persistence.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/graph/test_graph.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/graph/test_mermaid.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/graph/test_persistence.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/graph/test_state.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/graph/test_utils.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/import_examples.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/json_body_serializer.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/__init__.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_code_execution_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_code_execution_tool_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_model_empty_message_on_history.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_model_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_model_thinking_part_from_other_model.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_model_thinking_part_redacted.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_model_thinking_part_redacted_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_model_thinking_part_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_model_web_search_tool_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_output_tool_with_thinking.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_prompted_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_prompted_output_multiple.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_server_tool_pass_history_to_another_provider.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_server_tool_receive_history_from_another_provider.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_text_output_function.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_text_parts_ahead_of_built_in_tool_call.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_tool_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_tool_with_thinking.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_web_search_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_anthropic_web_search_tool_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_document_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_extra_headers.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_image_as_binary_content_tool_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_image_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_image_url_input_invalid_mime_type.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_multiple_parallel_tool_calls.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_anthropic/test_text_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_anthropic_tool_with_thinking.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_empty_system_prompt.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_anthropic_model_without_tools.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_guardrail_config.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_iter_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_max_tokens.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_other_parameters.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_performance_config.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_retry.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_structured_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_thinking_part_anthropic.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_thinking_part_deepseek.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_thinking_part_from_other_model.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_thinking_part_redacted.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_thinking_part_redacted_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_thinking_part_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_model_top_p.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_bedrock_multiple_documents_in_history.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_image_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_image_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_text_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_text_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_video_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_bedrock/test_video_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_cohere/test_cohere_model_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_cohere/test_cohere_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_cohere/test_request_simple_success_with_vcr.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_deepseek/test_deepseek_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_deepseek/test_deepseek_model_thinking_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_download_item/test_download_item_application_octet_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_download_item/test_download_item_audio_mpeg.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_download_item/test_download_item_no_content_type.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_additional_properties_is_false.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_additional_properties_is_true.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_drop_exclusive_maximum.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_exclusive_minimum_and_maximum.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_model_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_native_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_native_output_multiple.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_prompted_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_prompted_output_multiple.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_prompted_output_with_tools.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_text_output_function.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_tool_config_any_with_tool_without_args.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_tool_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_gemini_youtube_video_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_image_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_image_as_binary_content_tool_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_image_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_labels_are_ignored_with_gla_provider.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_video_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini/test_video_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_labels.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input[AudioUrl (gs)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input[AudioUrl].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input[DocumentUrl (gs)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input[DocumentUrl].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input[ImageUrl (gs)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input[ImageUrl].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input[VideoUrl (YouTube)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input[VideoUrl (gs)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input[VideoUrl].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_gemini_vertex/test_url_input_force_download.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_builtin_tools_with_other_tools.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_builtin_code_execution_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_code_execution_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_empty_assistant_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_empty_user_prompt.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_image_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_image_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_iter_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_max_tokens.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_multiple_documents_in_history.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_receive_web_search_history_from_another_provider.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_retry.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_safety_settings.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_server_tool_receive_history_from_another_provider.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_structured_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_text_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_text_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_thinking_config.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_thinking_part_from_other_model.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_thinking_part_iter.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_top_p.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_url_context_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_usage_limit_exceeded.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_usage_limit_not_exceeded.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_vertex_labels.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_vertex_provider.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_video_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_video_as_binary_content_input_with_vendor_metadata.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_video_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_web_search_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_web_search_tool_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_model_youtube_video_url_input_with_vendor_metadata.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_native_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_native_output_multiple.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_prompted_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_prompted_output_multiple.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_prompted_output_with_tools.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_text_output_function.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_timeout.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_tool_config_any_with_tool_without_args.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_tool_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input[AudioUrl (gs)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input[AudioUrl].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input[DocumentUrl (gs)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input[DocumentUrl].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input[ImageUrl (gs)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input[ImageUrl].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input[VideoUrl (YouTube)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input[VideoUrl (gs)].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input[VideoUrl].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_url_input_force_download.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_google/test_google_vertexai_model_usage_limit_exceeded.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_extra_headers.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_groq_model_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_groq_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_groq_model_thinking_part_iter.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_groq_model_web_search_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_groq_model_web_search_tool_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_groq_native_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_groq_prompted_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_image_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_image_as_binary_content_tool_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_image_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_tool_regular_error.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_tool_use_failed_error.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_groq/test_tool_use_failed_error_streaming.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_hf_model_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_hf_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_hf_model_thinking_part_iter.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_image_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_image_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_max_completion_tokens[Qwen-Qwen2.5-72B-Instruct].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_max_completion_tokens[deepseek-ai-DeepSeek-R1-0528].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_max_completion_tokens[meta-llama-Llama-3.3-70B-Instruct].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_request_simple_success_with_vcr.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_request_simple_usage.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_simple_completion.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_huggingface/test_stream_completion.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_mistral/test_image_as_binary_content_tool_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_mistral/test_mistral_model_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_mistral/test_mistral_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_mistral/test_mistral_model_thinking_part_iter.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_model_names/test_known_model_names.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_audio_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_compatible_api_with_tool_calls_without_id.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_document_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_document_as_binary_content_input_with_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_extra_headers.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_image_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_image_as_binary_content_tool_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_image_url_tool_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_invalid_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_max_completion_tokens[gpt-4.5-preview].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_max_completion_tokens[gpt-4o-mini].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_max_completion_tokens[o3-mini].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_multiple_agent_tool_calls.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_audio_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_instructions_with_tool_calls_keep_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_model_cerebras_provider.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_model_cerebras_provider_harmony.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_model_cerebras_provider_qwen_3_coder.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_model_settings_temperature_ignored_on_gpt_5.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_model_without_system_prompt.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_native_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_native_output_multiple.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_o1_mini_system_role[developer].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_o1_mini_system_role[system].yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_prompted_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_prompted_output_multiple.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_text_output_function.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_tool_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_web_search_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_web_search_tool_model_not_supported.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_openai_web_search_tool_with_user_location.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_reasoning_model_with_temperature.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_system_prompt_role_o1_mini.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_text_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_user_id.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai/test_valid_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_audio_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_image_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_image_as_binary_content_tool_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_native_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_native_output_multiple.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_previous_response_id.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_previous_response_id_auto_mode.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_code_execution_return_image.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_document_as_binary_content_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_image_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_builtin_tools.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_builtin_tools_web_search.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_http_error.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_instructions.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_retry.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_simple_response.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_simple_response_with_tool_call.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_thinking_part.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_web_search_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_web_search_tool_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_web_search_tool_with_invalid_region.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_model_web_search_tool_with_user_location.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_non_reasoning_model_no_item_ids.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_output_type.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_reasoning_effort.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_reasoning_generate_summary.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_streaming_usage.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_system_prompt.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_text_document_url_input.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_thinking_part_from_other_model.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_thinking_part_iter.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_thinking_with_code_execution_tool.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_thinking_with_code_execution_tool_stream.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_thinking_with_modified_history.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_thinking_with_tool_calls.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_openai_responses_verbosity.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_prompted_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_prompted_output_multiple.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_reasoning_model_with_temperature.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_text_output_function.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/cassettes/test_openai_responses/test_tool_output.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/mock_async_stream.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/mock_openai.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_model.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_model_names.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/models/test_model_request_parameters.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/__init__.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/cassettes/test_azure/test_azure_provider_call.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/cassettes/test_gateway/test_gateway_provider_with_anthropic.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/cassettes/test_gateway/test_gateway_provider_with_google_vertex.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/cassettes/test_gateway/test_gateway_provider_with_groq.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/cassettes/test_gateway/test_gateway_provider_with_openai.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/cassettes/test_gateway/test_gateway_provider_with_openai_responses.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/cassettes/test_google_vertex/test_vertexai_provider.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/cassettes/test_heroku/test_heroku_model_provider_claude_3_7_sonnet.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/cassettes/test_openrouter/test_openrouter_with_google_model.yaml +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_anthropic.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_cohere.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_deepseek.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_gateway.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_google_gla.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_google_vertex.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_grok.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_heroku.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_litellm.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_mistral.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_moonshotai.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_openai.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/providers/test_provider_names.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_builtin_tools.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_deps.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_direct.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_format_as_xml.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_function_schema.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_json_body_serializer.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_live.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_settings.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_tenacity.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/test_utils.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/typed_agent.py +0 -0
- {pydantic_ai-1.0.11 → pydantic_ai-1.0.13}/tests/typed_graph.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pydantic-ai
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.13
|
|
4
4
|
Summary: Agent Framework / shim to use Pydantic with LLMs
|
|
5
5
|
Project-URL: Homepage, https://ai.pydantic.dev
|
|
6
6
|
Project-URL: Source, https://github.com/pydantic/pydantic-ai
|
|
@@ -26,13 +26,13 @@ Classifier: Topic :: Internet
|
|
|
26
26
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
27
27
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
28
28
|
Requires-Python: >=3.10
|
|
29
|
-
Requires-Dist: pydantic-ai-slim[ag-ui,anthropic,bedrock,cli,cohere,evals,google,groq,huggingface,logfire,mcp,mistral,openai,retries,temporal,vertexai]==1.0.
|
|
29
|
+
Requires-Dist: pydantic-ai-slim[ag-ui,anthropic,bedrock,cli,cohere,evals,google,groq,huggingface,logfire,mcp,mistral,openai,retries,temporal,vertexai]==1.0.13
|
|
30
30
|
Provides-Extra: a2a
|
|
31
31
|
Requires-Dist: fasta2a>=0.4.1; extra == 'a2a'
|
|
32
32
|
Provides-Extra: dbos
|
|
33
|
-
Requires-Dist: pydantic-ai-slim[dbos]==1.0.
|
|
33
|
+
Requires-Dist: pydantic-ai-slim[dbos]==1.0.13; extra == 'dbos'
|
|
34
34
|
Provides-Extra: examples
|
|
35
|
-
Requires-Dist: pydantic-ai-examples==1.0.
|
|
35
|
+
Requires-Dist: pydantic-ai-examples==1.0.13; extra == 'examples'
|
|
36
36
|
Description-Content-Type: text/markdown
|
|
37
37
|
|
|
38
38
|
<div align="center">
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Dummy TXT file
|
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
interactions:
|
|
2
|
+
- request:
|
|
3
|
+
headers:
|
|
4
|
+
accept:
|
|
5
|
+
- application/json
|
|
6
|
+
accept-encoding:
|
|
7
|
+
- gzip, deflate
|
|
8
|
+
connection:
|
|
9
|
+
- keep-alive
|
|
10
|
+
content-length:
|
|
11
|
+
- '3845'
|
|
12
|
+
content-type:
|
|
13
|
+
- application/json
|
|
14
|
+
host:
|
|
15
|
+
- api.openai.com
|
|
16
|
+
method: POST
|
|
17
|
+
parsed_body:
|
|
18
|
+
messages:
|
|
19
|
+
- content: Get me an unstructured dict, respond on one line
|
|
20
|
+
role: user
|
|
21
|
+
model: gpt-4o
|
|
22
|
+
stream: false
|
|
23
|
+
tool_choice: auto
|
|
24
|
+
tools:
|
|
25
|
+
- function:
|
|
26
|
+
description: "Convert Celsius to Fahrenheit.\n\n Args:\n celsius: Temperature in Celsius\n\n Returns:\n
|
|
27
|
+
\ Temperature in Fahrenheit\n "
|
|
28
|
+
name: celsius_to_fahrenheit
|
|
29
|
+
parameters:
|
|
30
|
+
additionalProperties: false
|
|
31
|
+
properties:
|
|
32
|
+
celsius:
|
|
33
|
+
type: number
|
|
34
|
+
required:
|
|
35
|
+
- celsius
|
|
36
|
+
type: object
|
|
37
|
+
strict: true
|
|
38
|
+
type: function
|
|
39
|
+
- function:
|
|
40
|
+
description: "Get the weather forecast for a location.\n\n Args:\n location: The location to get the weather
|
|
41
|
+
forecast for.\n\n Returns:\n The weather forecast for the location.\n "
|
|
42
|
+
name: get_weather_forecast
|
|
43
|
+
parameters:
|
|
44
|
+
additionalProperties: false
|
|
45
|
+
properties:
|
|
46
|
+
location:
|
|
47
|
+
type: string
|
|
48
|
+
required:
|
|
49
|
+
- location
|
|
50
|
+
type: object
|
|
51
|
+
strict: true
|
|
52
|
+
type: function
|
|
53
|
+
- function:
|
|
54
|
+
description: ''
|
|
55
|
+
name: get_image_resource
|
|
56
|
+
parameters:
|
|
57
|
+
additionalProperties: false
|
|
58
|
+
properties: {}
|
|
59
|
+
type: object
|
|
60
|
+
type: function
|
|
61
|
+
- function:
|
|
62
|
+
description: ''
|
|
63
|
+
name: get_image_resource_link
|
|
64
|
+
parameters:
|
|
65
|
+
additionalProperties: false
|
|
66
|
+
properties: {}
|
|
67
|
+
type: object
|
|
68
|
+
type: function
|
|
69
|
+
- function:
|
|
70
|
+
description: ''
|
|
71
|
+
name: get_audio_resource
|
|
72
|
+
parameters:
|
|
73
|
+
additionalProperties: false
|
|
74
|
+
properties: {}
|
|
75
|
+
type: object
|
|
76
|
+
type: function
|
|
77
|
+
- function:
|
|
78
|
+
description: ''
|
|
79
|
+
name: get_audio_resource_link
|
|
80
|
+
parameters:
|
|
81
|
+
additionalProperties: false
|
|
82
|
+
properties: {}
|
|
83
|
+
type: object
|
|
84
|
+
type: function
|
|
85
|
+
- function:
|
|
86
|
+
description: ''
|
|
87
|
+
name: get_product_name
|
|
88
|
+
parameters:
|
|
89
|
+
additionalProperties: false
|
|
90
|
+
properties: {}
|
|
91
|
+
type: object
|
|
92
|
+
type: function
|
|
93
|
+
- function:
|
|
94
|
+
description: ''
|
|
95
|
+
name: get_product_name_link
|
|
96
|
+
parameters:
|
|
97
|
+
additionalProperties: false
|
|
98
|
+
properties: {}
|
|
99
|
+
type: object
|
|
100
|
+
type: function
|
|
101
|
+
- function:
|
|
102
|
+
description: ''
|
|
103
|
+
name: get_image
|
|
104
|
+
parameters:
|
|
105
|
+
additionalProperties: false
|
|
106
|
+
properties: {}
|
|
107
|
+
type: object
|
|
108
|
+
type: function
|
|
109
|
+
- function:
|
|
110
|
+
description: ''
|
|
111
|
+
name: get_dict
|
|
112
|
+
parameters:
|
|
113
|
+
additionalProperties: false
|
|
114
|
+
properties: {}
|
|
115
|
+
type: object
|
|
116
|
+
type: function
|
|
117
|
+
- function:
|
|
118
|
+
description: ''
|
|
119
|
+
name: get_unstructured_dict
|
|
120
|
+
parameters:
|
|
121
|
+
additionalProperties: false
|
|
122
|
+
properties: {}
|
|
123
|
+
type: object
|
|
124
|
+
type: function
|
|
125
|
+
- function:
|
|
126
|
+
description: ''
|
|
127
|
+
name: get_error
|
|
128
|
+
parameters:
|
|
129
|
+
additionalProperties: false
|
|
130
|
+
properties:
|
|
131
|
+
value:
|
|
132
|
+
default: false
|
|
133
|
+
type: boolean
|
|
134
|
+
type: object
|
|
135
|
+
type: function
|
|
136
|
+
- function:
|
|
137
|
+
description: ''
|
|
138
|
+
name: get_none
|
|
139
|
+
parameters:
|
|
140
|
+
additionalProperties: false
|
|
141
|
+
properties: {}
|
|
142
|
+
type: object
|
|
143
|
+
type: function
|
|
144
|
+
- function:
|
|
145
|
+
description: ''
|
|
146
|
+
name: get_multiple_items
|
|
147
|
+
parameters:
|
|
148
|
+
additionalProperties: false
|
|
149
|
+
properties: {}
|
|
150
|
+
type: object
|
|
151
|
+
type: function
|
|
152
|
+
- function:
|
|
153
|
+
description: "Get the current log level.\n\n Returns:\n The current log level.\n "
|
|
154
|
+
name: get_log_level
|
|
155
|
+
parameters:
|
|
156
|
+
additionalProperties: false
|
|
157
|
+
properties: {}
|
|
158
|
+
type: object
|
|
159
|
+
type: function
|
|
160
|
+
- function:
|
|
161
|
+
description: "Echo the run context.\n\n Args:\n ctx: Context object containing request and session information.\n\n
|
|
162
|
+
\ Returns:\n Dictionary with an echo message and the deps.\n "
|
|
163
|
+
name: echo_deps
|
|
164
|
+
parameters:
|
|
165
|
+
additionalProperties: false
|
|
166
|
+
properties: {}
|
|
167
|
+
type: object
|
|
168
|
+
type: function
|
|
169
|
+
- function:
|
|
170
|
+
description: Use sampling callback.
|
|
171
|
+
name: use_sampling
|
|
172
|
+
parameters:
|
|
173
|
+
additionalProperties: false
|
|
174
|
+
properties:
|
|
175
|
+
foo:
|
|
176
|
+
type: string
|
|
177
|
+
required:
|
|
178
|
+
- foo
|
|
179
|
+
type: object
|
|
180
|
+
strict: true
|
|
181
|
+
type: function
|
|
182
|
+
- function:
|
|
183
|
+
description: Use elicitation callback to ask the user a question.
|
|
184
|
+
name: use_elicitation
|
|
185
|
+
parameters:
|
|
186
|
+
additionalProperties: false
|
|
187
|
+
properties:
|
|
188
|
+
question:
|
|
189
|
+
type: string
|
|
190
|
+
required:
|
|
191
|
+
- question
|
|
192
|
+
type: object
|
|
193
|
+
strict: true
|
|
194
|
+
type: function
|
|
195
|
+
uri: https://api.openai.com/v1/chat/completions
|
|
196
|
+
response:
|
|
197
|
+
headers:
|
|
198
|
+
access-control-expose-headers:
|
|
199
|
+
- X-Request-ID
|
|
200
|
+
alt-svc:
|
|
201
|
+
- h3=":443"; ma=86400
|
|
202
|
+
connection:
|
|
203
|
+
- keep-alive
|
|
204
|
+
content-length:
|
|
205
|
+
- '1073'
|
|
206
|
+
content-type:
|
|
207
|
+
- application/json
|
|
208
|
+
openai-organization:
|
|
209
|
+
- pydantic-28gund
|
|
210
|
+
openai-processing-ms:
|
|
211
|
+
- '1521'
|
|
212
|
+
openai-project:
|
|
213
|
+
- proj_dKobscVY9YJxeEaDJen54e3d
|
|
214
|
+
openai-version:
|
|
215
|
+
- '2020-10-01'
|
|
216
|
+
strict-transport-security:
|
|
217
|
+
- max-age=31536000; includeSubDomains; preload
|
|
218
|
+
transfer-encoding:
|
|
219
|
+
- chunked
|
|
220
|
+
parsed_body:
|
|
221
|
+
choices:
|
|
222
|
+
- finish_reason: tool_calls
|
|
223
|
+
index: 0
|
|
224
|
+
logprobs: null
|
|
225
|
+
message:
|
|
226
|
+
annotations: []
|
|
227
|
+
content: null
|
|
228
|
+
refusal: null
|
|
229
|
+
role: assistant
|
|
230
|
+
tool_calls:
|
|
231
|
+
- function:
|
|
232
|
+
arguments: '{}'
|
|
233
|
+
name: get_unstructured_dict
|
|
234
|
+
id: call_R0n2R7S9vL2aZOX25T9jahTd
|
|
235
|
+
type: function
|
|
236
|
+
created: 1759264706
|
|
237
|
+
id: chatcmpl-CLbP82ODQMEznhobUKdq6Rjn9Aa12
|
|
238
|
+
model: gpt-4o-2024-08-06
|
|
239
|
+
object: chat.completion
|
|
240
|
+
service_tier: default
|
|
241
|
+
system_fingerprint: fp_f33640a400
|
|
242
|
+
usage:
|
|
243
|
+
completion_tokens: 12
|
|
244
|
+
completion_tokens_details:
|
|
245
|
+
accepted_prediction_tokens: 0
|
|
246
|
+
audio_tokens: 0
|
|
247
|
+
reasoning_tokens: 0
|
|
248
|
+
rejected_prediction_tokens: 0
|
|
249
|
+
prompt_tokens: 343
|
|
250
|
+
prompt_tokens_details:
|
|
251
|
+
audio_tokens: 0
|
|
252
|
+
cached_tokens: 0
|
|
253
|
+
total_tokens: 355
|
|
254
|
+
status:
|
|
255
|
+
code: 200
|
|
256
|
+
message: OK
|
|
257
|
+
- request:
|
|
258
|
+
headers:
|
|
259
|
+
accept:
|
|
260
|
+
- application/json
|
|
261
|
+
accept-encoding:
|
|
262
|
+
- gzip, deflate
|
|
263
|
+
connection:
|
|
264
|
+
- keep-alive
|
|
265
|
+
content-length:
|
|
266
|
+
- '4119'
|
|
267
|
+
content-type:
|
|
268
|
+
- application/json
|
|
269
|
+
cookie:
|
|
270
|
+
- __cf_bm=tGZk0hevqXH_kU7UScGt.EqwPxg4OTuqy4hBf.hGmwo-1759264708-1.0.1.1-dHK7SUjNTLSpKF9cvNn7RNdg6UBSqsWYbU7k7Dq5oE9NdDkkv4LRlBEYWPjFafQKjfrS_JgwrAIM5Je9qCJeucIatzS2M02wLccvrfU2c6k;
|
|
271
|
+
_cfuvid=d8Rl.NMqIC4giHLO2QsuslT6sliz_xnT6LK0PLEZEsA-1759264708042-0.0.1.1-604800000
|
|
272
|
+
host:
|
|
273
|
+
- api.openai.com
|
|
274
|
+
method: POST
|
|
275
|
+
parsed_body:
|
|
276
|
+
messages:
|
|
277
|
+
- content: Get me an unstructured dict, respond on one line
|
|
278
|
+
role: user
|
|
279
|
+
- content: null
|
|
280
|
+
role: assistant
|
|
281
|
+
tool_calls:
|
|
282
|
+
- function:
|
|
283
|
+
arguments: '{}'
|
|
284
|
+
name: get_unstructured_dict
|
|
285
|
+
id: call_R0n2R7S9vL2aZOX25T9jahTd
|
|
286
|
+
type: function
|
|
287
|
+
- content: '{"foo":"bar","baz":123}'
|
|
288
|
+
role: tool
|
|
289
|
+
tool_call_id: call_R0n2R7S9vL2aZOX25T9jahTd
|
|
290
|
+
model: gpt-4o
|
|
291
|
+
stream: false
|
|
292
|
+
tool_choice: auto
|
|
293
|
+
tools:
|
|
294
|
+
- function:
|
|
295
|
+
description: "Convert Celsius to Fahrenheit.\n\n Args:\n celsius: Temperature in Celsius\n\n Returns:\n
|
|
296
|
+
\ Temperature in Fahrenheit\n "
|
|
297
|
+
name: celsius_to_fahrenheit
|
|
298
|
+
parameters:
|
|
299
|
+
additionalProperties: false
|
|
300
|
+
properties:
|
|
301
|
+
celsius:
|
|
302
|
+
type: number
|
|
303
|
+
required:
|
|
304
|
+
- celsius
|
|
305
|
+
type: object
|
|
306
|
+
strict: true
|
|
307
|
+
type: function
|
|
308
|
+
- function:
|
|
309
|
+
description: "Get the weather forecast for a location.\n\n Args:\n location: The location to get the weather
|
|
310
|
+
forecast for.\n\n Returns:\n The weather forecast for the location.\n "
|
|
311
|
+
name: get_weather_forecast
|
|
312
|
+
parameters:
|
|
313
|
+
additionalProperties: false
|
|
314
|
+
properties:
|
|
315
|
+
location:
|
|
316
|
+
type: string
|
|
317
|
+
required:
|
|
318
|
+
- location
|
|
319
|
+
type: object
|
|
320
|
+
strict: true
|
|
321
|
+
type: function
|
|
322
|
+
- function:
|
|
323
|
+
description: ''
|
|
324
|
+
name: get_image_resource
|
|
325
|
+
parameters:
|
|
326
|
+
additionalProperties: false
|
|
327
|
+
properties: {}
|
|
328
|
+
type: object
|
|
329
|
+
type: function
|
|
330
|
+
- function:
|
|
331
|
+
description: ''
|
|
332
|
+
name: get_image_resource_link
|
|
333
|
+
parameters:
|
|
334
|
+
additionalProperties: false
|
|
335
|
+
properties: {}
|
|
336
|
+
type: object
|
|
337
|
+
type: function
|
|
338
|
+
- function:
|
|
339
|
+
description: ''
|
|
340
|
+
name: get_audio_resource
|
|
341
|
+
parameters:
|
|
342
|
+
additionalProperties: false
|
|
343
|
+
properties: {}
|
|
344
|
+
type: object
|
|
345
|
+
type: function
|
|
346
|
+
- function:
|
|
347
|
+
description: ''
|
|
348
|
+
name: get_audio_resource_link
|
|
349
|
+
parameters:
|
|
350
|
+
additionalProperties: false
|
|
351
|
+
properties: {}
|
|
352
|
+
type: object
|
|
353
|
+
type: function
|
|
354
|
+
- function:
|
|
355
|
+
description: ''
|
|
356
|
+
name: get_product_name
|
|
357
|
+
parameters:
|
|
358
|
+
additionalProperties: false
|
|
359
|
+
properties: {}
|
|
360
|
+
type: object
|
|
361
|
+
type: function
|
|
362
|
+
- function:
|
|
363
|
+
description: ''
|
|
364
|
+
name: get_product_name_link
|
|
365
|
+
parameters:
|
|
366
|
+
additionalProperties: false
|
|
367
|
+
properties: {}
|
|
368
|
+
type: object
|
|
369
|
+
type: function
|
|
370
|
+
- function:
|
|
371
|
+
description: ''
|
|
372
|
+
name: get_image
|
|
373
|
+
parameters:
|
|
374
|
+
additionalProperties: false
|
|
375
|
+
properties: {}
|
|
376
|
+
type: object
|
|
377
|
+
type: function
|
|
378
|
+
- function:
|
|
379
|
+
description: ''
|
|
380
|
+
name: get_dict
|
|
381
|
+
parameters:
|
|
382
|
+
additionalProperties: false
|
|
383
|
+
properties: {}
|
|
384
|
+
type: object
|
|
385
|
+
type: function
|
|
386
|
+
- function:
|
|
387
|
+
description: ''
|
|
388
|
+
name: get_unstructured_dict
|
|
389
|
+
parameters:
|
|
390
|
+
additionalProperties: false
|
|
391
|
+
properties: {}
|
|
392
|
+
type: object
|
|
393
|
+
type: function
|
|
394
|
+
- function:
|
|
395
|
+
description: ''
|
|
396
|
+
name: get_error
|
|
397
|
+
parameters:
|
|
398
|
+
additionalProperties: false
|
|
399
|
+
properties:
|
|
400
|
+
value:
|
|
401
|
+
default: false
|
|
402
|
+
type: boolean
|
|
403
|
+
type: object
|
|
404
|
+
type: function
|
|
405
|
+
- function:
|
|
406
|
+
description: ''
|
|
407
|
+
name: get_none
|
|
408
|
+
parameters:
|
|
409
|
+
additionalProperties: false
|
|
410
|
+
properties: {}
|
|
411
|
+
type: object
|
|
412
|
+
type: function
|
|
413
|
+
- function:
|
|
414
|
+
description: ''
|
|
415
|
+
name: get_multiple_items
|
|
416
|
+
parameters:
|
|
417
|
+
additionalProperties: false
|
|
418
|
+
properties: {}
|
|
419
|
+
type: object
|
|
420
|
+
type: function
|
|
421
|
+
- function:
|
|
422
|
+
description: "Get the current log level.\n\n Returns:\n The current log level.\n "
|
|
423
|
+
name: get_log_level
|
|
424
|
+
parameters:
|
|
425
|
+
additionalProperties: false
|
|
426
|
+
properties: {}
|
|
427
|
+
type: object
|
|
428
|
+
type: function
|
|
429
|
+
- function:
|
|
430
|
+
description: "Echo the run context.\n\n Args:\n ctx: Context object containing request and session information.\n\n
|
|
431
|
+
\ Returns:\n Dictionary with an echo message and the deps.\n "
|
|
432
|
+
name: echo_deps
|
|
433
|
+
parameters:
|
|
434
|
+
additionalProperties: false
|
|
435
|
+
properties: {}
|
|
436
|
+
type: object
|
|
437
|
+
type: function
|
|
438
|
+
- function:
|
|
439
|
+
description: Use sampling callback.
|
|
440
|
+
name: use_sampling
|
|
441
|
+
parameters:
|
|
442
|
+
additionalProperties: false
|
|
443
|
+
properties:
|
|
444
|
+
foo:
|
|
445
|
+
type: string
|
|
446
|
+
required:
|
|
447
|
+
- foo
|
|
448
|
+
type: object
|
|
449
|
+
strict: true
|
|
450
|
+
type: function
|
|
451
|
+
- function:
|
|
452
|
+
description: Use elicitation callback to ask the user a question.
|
|
453
|
+
name: use_elicitation
|
|
454
|
+
parameters:
|
|
455
|
+
additionalProperties: false
|
|
456
|
+
properties:
|
|
457
|
+
question:
|
|
458
|
+
type: string
|
|
459
|
+
required:
|
|
460
|
+
- question
|
|
461
|
+
type: object
|
|
462
|
+
strict: true
|
|
463
|
+
type: function
|
|
464
|
+
uri: https://api.openai.com/v1/chat/completions
|
|
465
|
+
response:
|
|
466
|
+
headers:
|
|
467
|
+
access-control-expose-headers:
|
|
468
|
+
- X-Request-ID
|
|
469
|
+
alt-svc:
|
|
470
|
+
- h3=":443"; ma=86400
|
|
471
|
+
connection:
|
|
472
|
+
- keep-alive
|
|
473
|
+
content-length:
|
|
474
|
+
- '833'
|
|
475
|
+
content-type:
|
|
476
|
+
- application/json
|
|
477
|
+
openai-organization:
|
|
478
|
+
- pydantic-28gund
|
|
479
|
+
openai-processing-ms:
|
|
480
|
+
- '318'
|
|
481
|
+
openai-project:
|
|
482
|
+
- proj_dKobscVY9YJxeEaDJen54e3d
|
|
483
|
+
openai-version:
|
|
484
|
+
- '2020-10-01'
|
|
485
|
+
strict-transport-security:
|
|
486
|
+
- max-age=31536000; includeSubDomains; preload
|
|
487
|
+
transfer-encoding:
|
|
488
|
+
- chunked
|
|
489
|
+
parsed_body:
|
|
490
|
+
choices:
|
|
491
|
+
- finish_reason: stop
|
|
492
|
+
index: 0
|
|
493
|
+
logprobs: null
|
|
494
|
+
message:
|
|
495
|
+
annotations: []
|
|
496
|
+
content: '{"foo":"bar","baz":123}'
|
|
497
|
+
refusal: null
|
|
498
|
+
role: assistant
|
|
499
|
+
created: 1759264708
|
|
500
|
+
id: chatcmpl-CLbPAOYN3jPYdvYeD8JNOOXF5N554
|
|
501
|
+
model: gpt-4o-2024-08-06
|
|
502
|
+
object: chat.completion
|
|
503
|
+
service_tier: default
|
|
504
|
+
system_fingerprint: fp_f33640a400
|
|
505
|
+
usage:
|
|
506
|
+
completion_tokens: 10
|
|
507
|
+
completion_tokens_details:
|
|
508
|
+
accepted_prediction_tokens: 0
|
|
509
|
+
audio_tokens: 0
|
|
510
|
+
reasoning_tokens: 0
|
|
511
|
+
rejected_prediction_tokens: 0
|
|
512
|
+
prompt_tokens: 374
|
|
513
|
+
prompt_tokens_details:
|
|
514
|
+
audio_tokens: 0
|
|
515
|
+
cached_tokens: 0
|
|
516
|
+
total_tokens: 384
|
|
517
|
+
status:
|
|
518
|
+
code: 200
|
|
519
|
+
message: OK
|
|
520
|
+
version: 1
|
|
@@ -23,8 +23,7 @@ from pytest_mock import MockerFixture
|
|
|
23
23
|
from vcr import VCR, request as vcr_request
|
|
24
24
|
|
|
25
25
|
import pydantic_ai.models
|
|
26
|
-
from pydantic_ai import Agent
|
|
27
|
-
from pydantic_ai.messages import BinaryContent
|
|
26
|
+
from pydantic_ai import Agent, BinaryContent
|
|
28
27
|
from pydantic_ai.models import Model, cached_async_http_client
|
|
29
28
|
|
|
30
29
|
__all__ = 'IsDatetime', 'IsFloat', 'IsNow', 'IsStr', 'IsInt', 'IsInstance', 'TestEnv', 'ClientWithHandler', 'try_import'
|
|
@@ -339,6 +338,13 @@ def document_content(assets_path: Path) -> BinaryContent:
|
|
|
339
338
|
return BinaryContent(data=pdf_bytes, media_type='application/pdf')
|
|
340
339
|
|
|
341
340
|
|
|
341
|
+
@pytest.fixture(scope='session')
|
|
342
|
+
def text_document_content(assets_path: Path) -> BinaryContent:
|
|
343
|
+
content = assets_path.joinpath('dummy.txt').read_text()
|
|
344
|
+
bin_content = BinaryContent(data=content.encode(), media_type='text/plain')
|
|
345
|
+
return bin_content
|
|
346
|
+
|
|
347
|
+
|
|
342
348
|
@pytest.fixture(scope='session')
|
|
343
349
|
def deepseek_api_key() -> str:
|
|
344
350
|
return os.getenv('DEEPSEEK_API_KEY', 'mock-api-key')
|
|
@@ -7,6 +7,7 @@ from pathlib import Path
|
|
|
7
7
|
from typing import Any
|
|
8
8
|
|
|
9
9
|
import pytest
|
|
10
|
+
import yaml
|
|
10
11
|
from dirty_equals import HasRepr, IsNumber
|
|
11
12
|
from inline_snapshot import snapshot
|
|
12
13
|
from pydantic import BaseModel, TypeAdapter
|
|
@@ -106,7 +107,7 @@ def example_cases() -> list[Case[TaskInput, TaskOutput, TaskMetadata]]:
|
|
|
106
107
|
def example_dataset(
|
|
107
108
|
example_cases: list[Case[TaskInput, TaskOutput, TaskMetadata]],
|
|
108
109
|
) -> Dataset[TaskInput, TaskOutput, TaskMetadata]:
|
|
109
|
-
return Dataset[TaskInput, TaskOutput, TaskMetadata](cases=example_cases)
|
|
110
|
+
return Dataset[TaskInput, TaskOutput, TaskMetadata](name='example', cases=example_cases)
|
|
110
111
|
|
|
111
112
|
|
|
112
113
|
@pytest.fixture
|
|
@@ -764,6 +765,7 @@ async def test_genai_attribute_collection(example_dataset: Dataset[TaskInput, Ta
|
|
|
764
765
|
'gen_ai.usage.input_tokens': 1,
|
|
765
766
|
'gen_ai.usage.details.special_tokens': 2,
|
|
766
767
|
'other_attribute': 3,
|
|
768
|
+
'operation.cost': 1.23,
|
|
767
769
|
},
|
|
768
770
|
):
|
|
769
771
|
with logfire.span('some other span'):
|
|
@@ -779,7 +781,7 @@ async def test_genai_attribute_collection(example_dataset: Dataset[TaskInput, Ta
|
|
|
779
781
|
metadata=TaskMetadata(difficulty='easy', category='general'),
|
|
780
782
|
expected_output=TaskOutput(answer='4', confidence=1.0),
|
|
781
783
|
output=TaskOutput(answer='answer to What is 2+2?', confidence=1.0),
|
|
782
|
-
metrics={'requests': 1, 'input_tokens': 1, 'special_tokens': 2},
|
|
784
|
+
metrics={'cost': 1.23, 'requests': 1, 'input_tokens': 1, 'special_tokens': 2},
|
|
783
785
|
attributes={},
|
|
784
786
|
scores={},
|
|
785
787
|
labels={},
|
|
@@ -795,7 +797,7 @@ async def test_genai_attribute_collection(example_dataset: Dataset[TaskInput, Ta
|
|
|
795
797
|
metadata=TaskMetadata(difficulty='medium', category='geography'),
|
|
796
798
|
expected_output=TaskOutput(answer='Paris', confidence=1.0),
|
|
797
799
|
output=TaskOutput(answer='answer to What is the capital of France?', confidence=1.0),
|
|
798
|
-
metrics={'requests': 1, 'input_tokens': 1, 'special_tokens': 2},
|
|
800
|
+
metrics={'cost': 1.23, 'requests': 1, 'input_tokens': 1, 'special_tokens': 2},
|
|
799
801
|
attributes={},
|
|
800
802
|
scores={},
|
|
801
803
|
labels={},
|
|
@@ -819,10 +821,29 @@ async def test_serialization_to_yaml(example_dataset: Dataset[TaskInput, TaskOut
|
|
|
819
821
|
# Test loading back
|
|
820
822
|
loaded_dataset = Dataset[TaskInput, TaskOutput, TaskMetadata].from_file(yaml_path)
|
|
821
823
|
assert len(loaded_dataset.cases) == 2
|
|
824
|
+
assert loaded_dataset.name == 'example'
|
|
822
825
|
assert loaded_dataset.cases[0].name == 'case1'
|
|
823
826
|
assert loaded_dataset.cases[0].inputs.query == 'What is 2+2?'
|
|
824
827
|
|
|
825
828
|
|
|
829
|
+
async def test_deserializing_without_name(
|
|
830
|
+
example_dataset: Dataset[TaskInput, TaskOutput, TaskMetadata], tmp_path: Path
|
|
831
|
+
):
|
|
832
|
+
"""Test serializing a dataset to YAML."""
|
|
833
|
+
# Save the dataset
|
|
834
|
+
yaml_path = tmp_path / 'test_cases.yaml'
|
|
835
|
+
example_dataset.to_file(yaml_path)
|
|
836
|
+
|
|
837
|
+
# Rewrite the file _without_ a name to test deserializing a name-less file
|
|
838
|
+
obj = yaml.safe_load(yaml_path.read_text())
|
|
839
|
+
obj.pop('name', None)
|
|
840
|
+
yaml_path.write_text(yaml.dump(obj))
|
|
841
|
+
|
|
842
|
+
# Test loading results in the name coming from the filename stem
|
|
843
|
+
loaded_dataset = Dataset[TaskInput, TaskOutput, TaskMetadata].from_file(yaml_path)
|
|
844
|
+
assert loaded_dataset.name == 'test_cases'
|
|
845
|
+
|
|
846
|
+
|
|
826
847
|
async def test_serialization_to_json(example_dataset: Dataset[TaskInput, TaskOutput, TaskMetadata], tmp_path: Path):
|
|
827
848
|
"""Test serializing a dataset to JSON."""
|
|
828
849
|
json_path = tmp_path / 'test_cases.json'
|
|
@@ -854,6 +875,7 @@ def test_serialization_errors(tmp_path: Path):
|
|
|
854
875
|
async def test_from_text():
|
|
855
876
|
"""Test creating a dataset from text."""
|
|
856
877
|
dataset_dict = {
|
|
878
|
+
'name': 'my dataset',
|
|
857
879
|
'cases': [
|
|
858
880
|
{
|
|
859
881
|
'name': '1',
|
|
@@ -873,6 +895,7 @@ async def test_from_text():
|
|
|
873
895
|
}
|
|
874
896
|
|
|
875
897
|
loaded_dataset = Dataset[TaskInput, TaskOutput, TaskMetadata].from_text(json.dumps(dataset_dict))
|
|
898
|
+
assert loaded_dataset.name == 'my dataset'
|
|
876
899
|
assert loaded_dataset.cases == snapshot(
|
|
877
900
|
[
|
|
878
901
|
Case(
|
|
@@ -1240,7 +1263,7 @@ async def test_dataset_evaluate_with_custom_name(example_dataset: Dataset[TaskIn
|
|
|
1240
1263
|
async def task(inputs: TaskInput) -> TaskOutput:
|
|
1241
1264
|
return TaskOutput(answer=inputs.query.upper())
|
|
1242
1265
|
|
|
1243
|
-
report = await example_dataset.evaluate(task,
|
|
1266
|
+
report = await example_dataset.evaluate(task, task_name='custom_task')
|
|
1244
1267
|
assert report.name == 'custom_task'
|
|
1245
1268
|
|
|
1246
1269
|
|
|
@@ -1490,16 +1513,26 @@ async def test_evaluate_async_logfire(
|
|
|
1490
1513
|
(
|
|
1491
1514
|
'evaluate {name}',
|
|
1492
1515
|
{
|
|
1493
|
-
'name': 'mock_async_task',
|
|
1494
|
-
'n_cases': 2,
|
|
1495
1516
|
'assertion_pass_rate': 1.0,
|
|
1496
|
-
'
|
|
1497
|
-
'
|
|
1498
|
-
'logfire.span_type': 'span',
|
|
1517
|
+
'dataset_name': 'example',
|
|
1518
|
+
'gen_ai.operation.name': 'experiment',
|
|
1499
1519
|
'logfire.json_schema': {
|
|
1520
|
+
'properties': {
|
|
1521
|
+
'assertion_pass_rate': {},
|
|
1522
|
+
'dataset_name': {},
|
|
1523
|
+
'gen_ai.operation.name': {},
|
|
1524
|
+
'n_cases': {},
|
|
1525
|
+
'name': {},
|
|
1526
|
+
'task_name': {},
|
|
1527
|
+
},
|
|
1500
1528
|
'type': 'object',
|
|
1501
|
-
'properties': {'name': {}, 'n_cases': {}, 'assertion_pass_rate': {}},
|
|
1502
1529
|
},
|
|
1530
|
+
'logfire.msg': 'evaluate mock_async_task',
|
|
1531
|
+
'logfire.msg_template': 'evaluate {name}',
|
|
1532
|
+
'logfire.span_type': 'span',
|
|
1533
|
+
'n_cases': 2,
|
|
1534
|
+
'name': 'mock_async_task',
|
|
1535
|
+
'task_name': 'mock_async_task',
|
|
1503
1536
|
},
|
|
1504
1537
|
),
|
|
1505
1538
|
(
|