eliza
eliza copied to clipboard
Zod should be a devdependency of the anthropic and openai packages
Relates to:
No specific issue linked, but this change relates to package dependency updates.
Risks
Background
What does this PR do?
This PR adds Zod as a dev dependency for the openAI and Anthropic packages. Zod is a TypeScript-first schema validation library used to ensure data integrity and correctness in various API requests.
What kind of change is this?
Documentation changes needed?
Testing
Where should a reviewer start?
The reviewer should start by verifying that the devDependencies section in package.json includes Zod. Additionally, they should check if the existing functionality is unaffected by the change.
Detailed testing steps
- Run
npm installoryarn installto ensure Zod is correctly installed as a dev dependency. - Check if the package version of Zod is correctly listed and the project builds without issues.