Skip to main content

compatible with openai API format

there is a UserID would look like the following:

{
 "prompt": "This is a test",
 "max_tokens": 5,
 "user": "1"
}

https://help.openai.com/en/articles/5428082-how-to-incorporate-a-userid


but I get the error when using veniceai API like below:

Error: API request failed with status code 400: {"error":"Invalid request parameters","details":{"_errors":["Unrecognized key(s) in object: 'user'"]},"request":{"model":"deepseek-r1-llama-70b","stream":true,"messages":[{"role":"user","content":"hi"}],"user":"8abec16f-d168-43b9-9722-fa6a75ccc448"}}
Status: Completed1 comment

Log in to comment and vote

Comments1

  • JP

    Team•

    Feb 23, 2025

    This is now supported.