Skip to content

feat(voltagent): add example for Zhipu AI integration#2

Merged
nasawz merged 1 commit intomainfrom
n-branch-2
Apr 26, 2025
Merged

feat(voltagent): add example for Zhipu AI integration#2
nasawz merged 1 commit intomainfrom
n-branch-2

Conversation

@nasawz
Copy link
Copy Markdown
Owner

@nasawz nasawz commented Apr 26, 2025

This commit adds a new example for integrating the Zhipu AI language model into a VoltAgent application. The key changes include:

  1. Adding a new example directory examples/with-zhipu-ai with a detailed README file explaining the setup and usage.
  2. Updating the pnpm-lock.yaml file to remove unnecessary dev flags and ensure consistent dependency versions.
  3. Improving the error handling in the ZhipuProvider class to call the provided onError callback when an error occurs during the API response parsing.

These changes aim to provide a comprehensive example for developers to quickly get started with using the Zhipu AI language model within their VoltAgent-powered AI applications.

This commit adds a new example for integrating the Zhipu AI language model into a VoltAgent application. The key changes include:

1. Adding a new example directory `examples/with-zhipu-ai` with a detailed README file explaining the setup and usage.
2. Updating the `pnpm-lock.yaml` file to remove unnecessary `dev` flags and ensure consistent dependency versions.
3. Improving the error handling in the `ZhipuProvider` class to call the provided `onError` callback when an error occurs during the API response parsing.

These changes aim to provide a comprehensive example for developers to quickly get started with using the Zhipu AI language model within their VoltAgent-powered AI applications.
@nasawz nasawz merged commit c5cd108 into main Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant