v1.6.0
browserbase/stagehandv1.6.0Dec 10, 2024by github-actions[bot]
AI Summary
Adds support for newer OpenAI models, improves code quality with stricter type checking, and enables multi-region Browserbase support.
Key Highlights
- Add support for o1-mini and o1-preview in OpenAIClient
- Add eslint for stricter type checking
- Add multi-region support for browserbase
- Streamline internal types throughout cache, llm, and handlers
New Features
- OpenAI o1 models support
- ESLint integration
- Multi-region Browserbase support
- Streamlined internal types
Full Release Notes
### Minor Changes https://github.com/browserbase/stagehand/pull/279 [d6d7057](https://github.com/browserbase/stagehand/commit/d6d70570623a718354797ef83aa8489eacc085d1) Thanks [@navidkpr](https://github.com/navidkpr), [@sameelarif](https://github.com/sameelarif), [@kamath](https://github.com/kamath)! - Add support for o1-mini and o1-preview in OpenAIClient https://github.com/browserbase/stagehand/pull/282 [5291797](https://github.com/browserbase/stagehand/commit/529179724a53bf2fd578a4012fd6bc6b7348d1ae) Thanks [@sameelarif](https://github.com/sameelarif)! - Added eslint for stricter type checking. Streamlined most of the internal types throughout the cache, llm, and handlers. This should make it easier to add new LLMs down the line, maintain and update the existing code, and make it easier to add new features in the future. Types can be checked by running npx eslint . from the project directory. ### Patch Changes https://github.com/browserbase/stagehand/pull/286 [9605836](https://github.com/browserbase/stagehand/commit/9605836ee6b8207ed7dc9146e12ced1c78630d59) Thanks [@navidkpr](https://github.com/navidkpr)! - minor improvement in action + new eval case https://github.com/browserbase/stagehand/pull/270 [6b10b3b](https://github.com/browserbase/stagehand/commit/6b10b3b1160649b19f50d66588395ceb679b3d68) Thanks [@sameelarif](https://github.com/sameelarif)! - add close link to readme https://github.com/browserbase/stagehand/pull/288 [5afa0b9](https://github.com/browserbase/stagehand/commit/5afa0b940a9f379a3719a5bbae249dd2a9ef8380) Thanks [@tan-z-tan](https://github.com/tan-z-tan)! - add multi-region support for browserbase https://github.com/browserbase/stagehand/pull/284 [474217c](https://github.com/browserbase/stagehand/commit/474217cfaff8e68614212b66baa62d35493fd2ce) Thanks [@kamath](https://github.com/kamath)! - Build wasn't working, this addresses tsc failure. https://github.com/browserbase/stagehand/pull/236 [85483fe](https://github.com/browserbase/stagehand/commit/85483fe091544fc079015c62b6923b03f8b9caa7) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - reduce chunk size