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"}}

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board

API

Date

About 1 year ago

Author

sevenjay

Subscribe to post

Get notified by email when there are changes.