error caused by difference in prediction version in webhook vs prediction payload
carlpeaslee opened this issue · 1 comments
carlpeaslee commented
Original post from Slack:
https://replicatehq.slack.com/archives/C04AXJ6BR34/p1687821981253489
This was resolved temporarily with this workaround:
from replicate.prediction import Prediction as OriginalPrediction
from pydantic import Field
class Prediction(OriginalPrediction):
version: str = Field(..., description="Version field")
thanks @anotherjesse for the help here.