Eleanor Berger
Eleanor Berger
One of our heavier pages was taking a very long time to load and often timing out. Took ages to understand why this is happening in production and not in...
### Description I'd like to trace everything happening in my testsuite, with traces grouped by a span for each test case, so that I can observe the how my code...
See https://github.com/intellectronica/pydantic-ai-experiments/blob/main/scratch.ipynb ``` Traceback (most recent call last): File "/usr/local/python/3.12.1/lib/python3.12/site-packages/pydantic_ai/_result.py", line 189, in validate result = self.type_adapter.validate_json( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/python/3.12.1/lib/python3.12/site-packages/pydantic/type_adapter.py", line 425, in validate_json return self.validator.validate_json( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pydantic_core._pydantic_core.ValidationError: 2 validation...
I've been getting these sporadically when using Gemini: ``` Traceback (most recent call last): File "/workspaces/cardcraft/.venv/lib/python3.12/site-packages/pydantic_ai/agent.py", line 249, in run model_response, request_usage = await agent_model.request(messages, model_settings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspaces/cardcraft/.venv/lib/python3.12/site-packages/pydantic_ai/models/gemini.py", line...