organization · inferred from evidence
replicate
An organization maintaining the replicate-python library.
- TypeError: replicate_1.default is not a constructor
`TypeError: replicate_1.default is not a constructor` in plain ES modules is an import-style problem, not a broken package. The default import does not resolve to the constructor outside TypeScript.
- CORS error calling the Replicate API from the browser
A practical guide for Replicate. You can't call the Replicate API straight from the browser: Replicate doesn't send CORS headers, and that's deliberate, because your API token would be exposed in client-side code (even in packaged apps like
- replicate.run output changed from URL to base64 data URLs without a client change
If your pinned replicate-python 1.0.x code suddenly gets base64 data where URLs used to be, the API-side rollout of `Prefer: wait` support changed the sync output format under you. Replicate rolled that behavior back, so current responses s
- input_images must be a zip file error when running a training with a file handle
The `input_images must be a zip file` error on a valid zip comes from the client not passing the filename when you give it an open file handle, which broke the model's `.zip` extension check. Upgrade to replicate-python 0.32.1 or later, whi
- Llama 3 streaming repeats the previous request's first token
If your streamed Llama 3 responses start by echoing the first tokens of previous turns, you are on a client version with the streaming bug, not a model problem. The maintainer reproduced it in the client alone after ruling out stop sequence