Skip to content

Test fail with new mistralai version #2082

@medaminezghal

Description

@medaminezghal

Initial Checks

Description

From mistralai>=1.8.1, this line in mistralai test will cause a problem because created should be an int according to new version in this file.

If I change from created=1704067200 if with_created else None to created=1704067200 if with_created else 0, the tests work. I don't know if the value 0 will cause any future problem. If there is no problem, I can create a PR.

Example Code

Python, Pydantic AI & LLM client version

The latest of every package.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions