-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Feature Parity Request
This issue was automatically created from a pull request in the TypeScript Stagehand repository that was labeled with 'parity'.
Original PR Details
- PR: #910 - improve cua key mapping logic
- Author: @tkattkat
- Link: improve cua key mapping logic stagehand#910
Description
why
Currently we have a handful of keys that fail to be used, and redundant logic around key handling. It is now consolidated to one location, and properly handles the failing keys
part of STG-587
what changed
consolidated key handling for CUA agents to one util
test plan
tested locally
Changed Files
.changeset/huge-suns-dress.md
lib/agent/AnthropicCUAClient.ts
lib/agent/utils/cuaKeyMapping.ts
lib/agent/utils/imageCompression.ts
lib/handlers/agentHandler.ts
Recent Comments
@changeset-bot[bot] commented:
🦋 Changeset detected
Latest commit: 3319506c57263744ec78501406c2bf2876c1e5a4
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
[Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/browserbase/stagehand/new/improve-cua-key-mapping-logic?filename=.changeset/rotten-ligers-...
Action Required
Please review the changes in the original PR and implement equivalent functionality in the Python SDK if applicable.
This issue was automatically generated by the Feature Parity workflow.