What happened?
I configured the mistral subscription with Pi, but any request fails with
Error: Unexpected HTTP client error: TypeError: Failed to parse URL from [object Request]
The issue seems related to undici not correctly handling the mistral sdk Request object and thus trying to use it as a string instead of using the object. This seems to be related to pi patching the request flow to use undici for proxy support.
Steps to reproduce
/login to mistral as a provider using the "Vibe" API Key
- Pick any model (I tried
mistral-medium-3.5)
- Send any message
Expected behavior
The message is correctly sent and model replies.
Version
0.74.1
What happened?
I configured the mistral subscription with Pi, but any request fails with
The issue seems related to
undicinot correctly handling the mistral sdk Request object and thus trying to use it as a string instead of using the object. This seems to be related to pi patching the request flow to use undici for proxy support.Steps to reproduce
/loginto mistral as a provider using the "Vibe" API Keymistral-medium-3.5)Expected behavior
The message is correctly sent and model replies.
Version
0.74.1