You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm upgrading the client-ts dependency on my project from 0.5.0 to 1.3.5 and after some code changes to chat.stream usage I get this error using a dedicated ai server:
'type': 'extra_forbidden', 'loc': ('body', 'safe_prompt'), 'msg': 'Extra inputs are not permitted'
It seems that the typescript client is sending always safe_prompt parameter, how can I prevent the client to add 'safe_prompt' to the body ?
As far as I see in Mistral platform documentation it should be optionnal to have 'safe_prompt' in requests.
Hello, I'm upgrading the client-ts dependency on my project from 0.5.0 to 1.3.5 and after some code changes to chat.stream usage I get this error using a dedicated ai server:
'type': 'extra_forbidden', 'loc': ('body', 'safe_prompt'), 'msg': 'Extra inputs are not permitted'
It seems that the typescript client is sending always safe_prompt parameter, how can I prevent the client to add 'safe_prompt' to the body ?
As far as I see in Mistral platform documentation it should be optionnal to have 'safe_prompt' in requests.
If you need more information, the code is open source and here OpenCTI-Platform/opencti#9482
The text was updated successfully, but these errors were encountered: