-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Description
Sending a request to https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct/predictions
from the browser with abort signal,
await this.replicate.run(model, {
input,
signal: this.abortSignal,
}
results in the following error:
https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct/predictions failed with status 422 : {"detail":"- Additional property signal is not allowed\n","status":422,"title":"Input validation failed","invalid_fields":[{"type":"additional_property_not_allowed","field":"","description":"Additional property signal is not allowed"}]}
Request payload show in chrome devtools:
{
"signal": {},
"input": {
"prompt": "hey",
"prompt_template": "",
"max_tokens": "",
"temperature": 1,
"presence_penalty": 0,
"frequency_penalty": 0
},
"stream": true
}
Metadata
Metadata
Assignees
Labels
No labels