Job has missing field(s): input
I try to use the response on a serverless LLM
meta-llama/Meta-Llama-3.1-8B-Instruct
with the following JSON:
{
"messages": [
{
"role": "system",
"content": "..."
},
{
"role": "user",
"content": "..."
},
{
"role": "assistant",
"content": "..."
}
]
}
and I keep getting the following in the logs:
[error]
Job has missing field(s): input.
I also tried the python code using the example code runpod recommends but I keep getting a 401? Has anyone got this working?
Also I have got authorised from Hugging face so the serverless LLM is installed ok without any errors?
1 Reply
It says missing fields input
Put them inside input, or I suggest just use openai client sdk, search it up