brennanbutler01
brennanbutler01
**Before submitting an issue, please:** - [x] Check the [documentation](https://docs.stagehand.dev/) for relevant information - [x] Search existing [issues](https://github.com/browserbase/stagehand/issues) to avoid duplicates ## Environment Information **Stagehand:** - Language/SDK: TypeScript - Stagehand...
**Before submitting an issue, please:** - [x] Check the [documentation](https://docs.stagehand.dev/) for relevant information - [x] Search existing [issues](https://github.com/browserbase/stagehand/issues) to avoid duplicates ## Environment Information **Stagehand:** - Language/SDK: TypeScript - Stagehand...
This replaces #4508, which I closed because it was filed from the wrong GitHub account. Reposting here from my personal account. The connected-account response contract is unclear about whether applications...
# ResponseCachingMiddleware breaks binary resource responses Adding `ResponseCachingMiddleware()` changes the behavior of resources returning bytes. UTF-8-compatible bytes become a text response on the second read; non-UTF-8 bytes fail on the...
### Is this suited for GitHub? - [x] Yes, this is suited for GitHub. ### Problem When a session adapter throws a non-API error, server-side `auth.api.getSession({ headers })` throws the...
### Description When `repairToolCall` is waiting, cancelling the request doesn't stop the SDK from waiting for it. If repair later succeeds, the SDK can execute the repaired tool with an...
### Description When `prepareStep` selects a different model, `streamText` calls that model correctly, but `steps[i].model`, `onStepEnd` and `onEnd` still identify the original model and provider. In the reproduction below, only...
### Description `streamText` calls a tool's `onInputAvailable` callback even when the input failed its `inputSchema` validation. The callback receives the rejected input using the schema's inferred TypeScript type. For example,...
### Description Tool input callbacks receive `runtimeContext` as their `context`, while `execute` correctly receives the tool-specific value from `toolsContext`. The callbacks are typed using the tool's `contextSchema`. For example, if...
### Description A V4 language model can return a file with `data: { type: 'url', url: new URL(...) }`. `generateText` and `streamText` turn that URL into a `GeneratedFile` as if...