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
Hi @vitalyshalumov thanks for opening this issue, the truncate param is not available on the /v1/chat/completions endpoint, this is the case because the /v1/chat/completions aims to follow the same API as openai's chat endpoint.
would it be possible to truncate the input before calling the chat endpoint? If this does not meet your use case we can start a larger conversation about adding this param with the team; however currently we'd like to limit the params to align with openai.
System Info
I want to be able to truncate input without raising an error using /v1/chat/completions. Is this possible?
Information
Tasks
Reproduction
input that is longer than allowed
Expected behavior
truncation from the top.
The text was updated successfully, but these errors were encountered: