pierrecarcellermeunier

Results comments of pierrecarcellermeunier

Ok, I found the problem... So for everybody who will see this, let me tell you that I spent a lot of time, blood, and tears to figure it out......

Sorry to add another coin to this issue, but I’ve been thinking about something. It’s clear now that when the agent finds an existing history, it assumes the system prompt...

(Sorry, I just realized that I initially opened this issue on Logfire. My apologies.) Also, the ModelRequest and ModelResponse classes in PydanticAI contain metadata, as does UIMessage from Vercel. It...

Ok, perfect, it seems indeed to be the same problem. @dsfaccini Are you also going to handle the transfer of the metadata that isn’t copied in your PR, or do...

Could be very helpful to have this (+1)

Interesting to note that the exact same code in a notebook works as expected. Maybe a problem with fastapi ?

Erratum : ## openlit breaks pydantic-ai streaming with by removing this line I was able to run the code in the expected way ``` python # openlit.init(tracer=trace.get_tracer(__name__), disable_batch=True) ```

Thanks, that’s very clear. Silently dropping some parameters can be confusing, not a good patern, my first assumption was that it came from the LiteLLM proxy. It might be helpful...