Skip to content

Conversation

@R0boji
Copy link
Contributor

@R0boji R0boji commented Jul 18, 2025

Sometimes responses from OpenRouter API comes without created field. That bug caused datetime error, so that's its fix.

Closes #2238

@DouweM
Copy link
Collaborator

DouweM commented Jul 18, 2025

@R0boji Thanks! Can you please run make format? Looks like the linter's unhappy

@R0boji
Copy link
Contributor Author

R0boji commented Jul 23, 2025

I'm stuck, don't know why that error raises. It happens despite the fact that I added try except block that handles this error

@R0boji
Copy link
Contributor Author

R0boji commented Jul 23, 2025

@DouweM can you check?

@DouweM
Copy link
Collaborator

DouweM commented Jul 23, 2025

@R0boji I've pushed a fix into the PR! Let's see if it passes

@DouweM DouweM enabled auto-merge (squash) July 23, 2025 22:42
@DouweM DouweM merged commit b686001 into pydantic:main Jul 23, 2025
16 checks passed
KRRT7 pushed a commit to aseembits93/pydantic-ai that referenced this pull request Jul 24, 2025
…c#2247)

Co-authored-by: Douwe Maan <douwe@pydantic.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants