mistralai / client-ts

TS Client library for Mistral AI platform
Apache License 2.0
25 stars 9 forks source link

`AgentsCompletionStreamRequest` seems wrong? #14

Closed RemiSaurel closed 2 months ago

RemiSaurel commented 2 months ago

Hi 👋

I'm trying to discover the Agents and use them with the API. The AgentsCompletionRequest works fine. The thing is I want to use the stream response and it seems that AgentsCompletionStreamRequest doesn't have the required types / is not updated.

Indeed, there is missing some mandatory information (I think) such as:

And some others that aren't necessary:

Since I'm new on this, I might make some mistakes. Feel free to tell me!

GaspardBT commented 2 months ago

Thank you for testing and reporting this issue. We have identified the bug you mentioned and will release a fix soon to address it.