brennanbutler01

Results issues of 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...

docs
support

# 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...

bug
server

### 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...

locked

### 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...

task-identify-issue-type-done
task-bug-reproduction-success
merged-main
factory-automatic
task-identify-harness-labels-done

### 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...

task-identify-issue-type-done
task-bug-reproduction-success
task-backport-v6.0-created
merged-v6.0
merged-main
task-bug-reproduction-v6.0-success
task-bug-reproduction-v5.0-issue-invalid
factory-automatic
task-identify-harness-labels-done

### 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,...

task-identify-issue-type-done
task-bug-reproduction-success
merged-main
task-bug-reproduction-v6.0-cannot-reproduce
task-bug-reproduction-v5.0-issue-invalid
factory-automatic
task-identify-harness-labels-done

### 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...

task-identify-issue-type-done
task-bug-reproduction-success
merged-main
task-bug-reproduction-v6.0-issue-invalid
task-bug-reproduction-v5.0-issue-invalid
factory-automatic
task-identify-harness-labels-done

### 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...

task-identify-issue-type-done
task-bug-reproduction-success
merged-main
task-bug-reproduction-v6.0-issue-invalid
task-bug-reproduction-v5.0-issue-invalid
factory-automatic
task-identify-harness-labels-done
discovery:audit