Mattt

Results 77 issues of Mattt

The integration test for Bun fails sporadically with a timeout. Re-running usually results in a successful run. For example, here's a run that failed: https://github.com/replicate/replicate-javascript/actions/runs/8340326500/job/22824063223 And here's the retry, which...

At yesterday's hackathon, a participant shared that predictions created and polled for completion using `run` would hang indefinitely, despite the Replicate dashboard showing that prediction as finishing minutes earlier. After...

In https://github.com/replicate/replicate-javascript/issues/161#issuecomment-1816333059, a user reported the following error: > `TypeError: replicate_1.default is not a constructor` A solution was to add `"esModuleInterop": true` to the project's `tsconfig.json` file. We should either...

> The [`@since`](https://jsdoc.app/tags-since.html) tag indicates that a class, method, or other symbol was added in a specific version. > > ```js > /** > * Provides access to user information....

It's more practical for retry logic to be handled by the underlying `http.Client`. For example, using github.com/hashicorp/go-retryablehttp

The method signature for `CreatePrediction` is less than ideal: ```go func (r *Client) CreatePrediction(ctx context.Context, version string, input PredictionInput, webhook *Webhook, stream bool) (*Prediction, error) {} ``` - It's too...