The Vercel AI SDK, a TypeScript toolkit for building AI-powered applications, has experienced significant community engagement and development activity, with numerous issues and pull requests focused on enhancing functionality and improving error handling.
The Vercel AI SDK provides a unified API for integrating AI functionalities into applications using frameworks like Next.js, React, Svelte, Vue, and Solid. It is designed to facilitate interaction with AI model providers such as OpenAI and Google.
Recent issues and pull requests indicate a strong focus on improving error handling, stream management, and integration with additional model providers. Notable issues include #3018 regarding AWS Bedrock provider options and #3007 about unhandled rejections in StreamUI. These issues highlight ongoing efforts to enhance the SDK's robustness and flexibility.
Lars Grammel (lgrammel)
onStepFinish
callback, enhanced telemetry features, documentation updates.Jeremy (jeremyphilemon)
Kexi Dang (kexiZeroing)
Walter Korman (shaper)
Yoshinori Sano (yoshinorisano)
Nico Albanese (nicoalbanese)
Min Peter (minpeter)
Dependabot[bot]
Timespan | Opened | Closed | Comments | Labeled | Milestones |
---|---|---|---|---|---|
7 Days | 19 | 12 | 52 | 2 | 1 |
30 Days | 92 | 55 | 219 | 7 | 1 |
90 Days | 241 | 154 | 710 | 23 | 1 |
1 Year | 390 | 199 | 1216 | 74 | 1 |
All Time | 839 | 641 | - | - | - |
Like all software activity quantification, these numbers are imperfect but sometimes useful. Comments, Labels, and Milestones refer to those issues opened in the timespan in question.
Developer | Avatar | Branches | PRs | Commits | Files | Changes |
---|---|---|---|---|---|---|
Lars Grammel | 5 | 77/73/1 | 88 | 444 | 29536 | |
github-actions[bot] | 1 | 41/41/0 | 41 | 87 | 5511 | |
Jeremy | 2 | 5/4/0 | 7 | 40 | 2655 | |
None (dependabot[bot]) | 3 | 23/0/22 | 3 | 15 | 502 | |
Nico Albanese | 1 | 6/6/0 | 6 | 8 | 427 | |
minpeter | 1 | 4/2/2 | 2 | 1 | 280 | |
Naren Gogineni | 1 | 3/1/2 | 1 | 1 | 152 | |
Alan Sunny | 1 | 1/1/0 | 1 | 2 | 123 | |
Daniel Yeoman | 1 | 1/1/0 | 1 | 1 | 42 | |
Johannes Waigel | 1 | 0/1/0 | 1 | 1 | 16 | |
Jiachi Liu (huozhi) | 1 | 1/0/0 | 1 | 1 | 8 | |
Gwenaƫl Gallon | 1 | 1/1/0 | 1 | 1 | 6 | |
Yoshinori Sano | 1 | 2/2/0 | 2 | 2 | 6 | |
Walter Korman | 1 | 2/2/0 | 2 | 2 | 2 | |
Kexi Dang | 1 | 1/1/0 | 1 | 1 | 2 | |
Thuc Pham (thucpn) | 0 | 1/0/1 | 0 | 0 | 0 | |
Saran Connolly (Saran33) | 0 | 1/0/1 | 0 | 0 | 0 | |
bhavna3 (bhavna3) | 0 | 1/0/1 | 0 | 0 | 0 | |
Gordon Mickel (gmickel) | 0 | 1/0/0 | 0 | 0 | 0 | |
onFire(Abhi) (AbhiShake1) | 0 | 1/0/0 | 0 | 0 | 0 | |
Tony Farney (tonyfarney) | 0 | 1/0/0 | 0 | 0 | 0 | |
Ravi Kumar (ravvi-kumar) | 0 | 1/0/0 | 0 | 0 | 0 | |
Oscar Barrett (OscarBarrett) | 0 | 1/0/1 | 0 | 0 | 0 | |
Brice Lechatellier (blechatellier) | 0 | 2/0/2 | 0 | 0 | 0 | |
Fabian Hiller (fabian-hiller) | 0 | 1/0/0 | 0 | 0 | 0 | |
Daniel Gavrilov (danielgavrilov) | 0 | 1/0/1 | 0 | 0 | 0 |
PRs: created by that dev and opened/merged/closed-unmerged during the period
The Vercel AI SDK repository has seen significant recent activity, with a total of 198 open issues. Notably, several issues have been created or updated in the last few days, indicating an active engagement from the community and ongoing development efforts. There are recurring themes around bugs, enhancements, and feature requests related to streaming responses, tool calls, and error handling.
Several issues exhibit anomalies, such as users encountering persistent errors during streaming or unexpected behavior when switching chat IDs. There's also a notable demand for improved error handling during API interactions and better support for various model providers. The community is actively seeking solutions to enhance usability and functionality, particularly regarding the integration of tools and structured outputs.
Here are some of the most recently created and updated issues:
Issue #3018: AWS Bedrock provider doesn't work unless using bedrockOptions
Issue #3016: useAssistant hook createMessage method
useAssistant
hook.Issue #3007: StreamUI unhandledRejection: Error: .update(): UI stream is already closed
Issue #2996: Support for Additional Inference Providers (DeepInfra, Hyperbolic) and Voyage AI for Embeddings
Issue #2987: ai-sdk/ui: Provide a way to customize the user message in useChat
Issue #2972: TypeError: Inter-TransformStream ReadableStream.pipeTo() is not implemented
Issue #2961: Flush/Reset StreamData when calling data.close() or have a separate function for it
Overall, the recent activity reflects a vibrant community working collaboratively to address challenges while enhancing the capabilities of the Vercel AI SDK.
The Vercel AI SDK repository currently has 51 open pull requests (PRs) and a total of 1,665 closed PRs. The recent activity indicates a focus on enhancing functionality, improving documentation, and addressing dependency updates.
PR #3015: feat(ai): add support for Valibot schemas
Created by Fabian Hiller, this draft PR proposes adding support for Valibot schemas alongside Zod. It aims to enhance the modularity of the API design, potentially improving user experience. The final implementation is pending clarification on certain integration aspects.
PR #3003: Bump react from 18.2.0 to 19.0.0-rc-206df66e-20240912
Created by dependabot, this PR updates React to a release candidate version. It is crucial as it aligns the project with the latest React features and fixes.
PR #3002: remove "Use textEmbeddingModel()
" message from textEmbeddingModel
for google provider
This PR by AbhiShake1 simplifies the API documentation by removing deprecated messages, streamlining user guidance.
PR #2992: Bump eslint-config-turbo from 1.13.3 to 2.1.2
Another dependabot update that ensures coding standards are maintained with the latest ESLint configuration.
PR #2986: 2939
A draft by Lars Grammel focusing on reproducing and re-implementing a previous solution (#1825), indicating ongoing efforts to refine existing features.
PR #2963: Bump @smithy/types from 3.1.0 to 3.4.0
This PR updates the Smithy types package, which is significant for maintaining compatibility with AWS-related functionalities.
PR #2956: fix (docs): update createAI example, move AI to separate module
A documentation improvement that enhances clarity in usage examples for developers.
PR #3021: feat (ai/core): add providerMetadata to StepResult
Merged by Lars Grammel, this PR adds metadata capabilities to step results, enhancing the SDK's utility in tracking provider interactions.
PR #3019: feat (ai/core): add onStepFinish callback to streamText
This feature enriches the streaming capabilities of text generation by providing callbacks for step completion.
PR #3005: fix (ai/provider-utils): expose size argument in generateId
A fix that enhances the utility of the ID generation function within the provider utilities.
PR #2998: fix (ai/core): pass topK to providers
This PR addresses an issue where topK parameters were not being passed correctly, ensuring better performance in AI model interactions.
The current landscape of pull requests in the Vercel AI SDK repository reveals several key themes and areas of focus:
A significant number of open PRs are dedicated to adding new features or enhancing existing functionalities. For instance, PR #3015 introduces support for Valibot schemas, indicating a push towards accommodating diverse schema validation libraries that can enhance developer flexibility and improve user experience when integrating AI functionalities into applications.
There is a consistent effort in maintaining up-to-date dependencies across various packages within the SDK. Dependabot has been active in proposing updates for critical libraries like React and ESLint configurations (#3003 and #2992). This proactive approach helps mitigate security vulnerabilities and ensures compatibility with newer features offered by these libraries.
Several PRs focus on improving documentation and examples (#2956, #3002). Clear documentation is vital for community engagement and effective usage of the SDK, especially as it targets developers across multiple frameworks like Next.js, React, Svelte, Vue, and Solid. Enhancements in documentation can lead to better onboarding experiences for new users and reduce potential confusion regarding API usage.
The presence of community contributors alongside maintainers indicates a healthy collaborative environment within the project. Many PRs are initiated by community members who are actively participating in refining features or addressing issues they encounter during development (#2983).
While there is robust activity around feature enhancements and dependency management, some older PRs remain open without significant progress or resolution (e.g., PR #2806 concerning troubleshooting SDK errors). This could indicate potential bottlenecks in review processes or prioritization challenges among maintainers.
Additionally, there are instances where proposed changes have been superseded or closed without merging due to overlapping functionality or lack of consensus on implementation approaches (e.g., multiple PRs related to React version bumps).
Overall, the Vercel AI SDK repository demonstrates an active development environment with a strong focus on feature enhancement, dependency management, and community involvement. However, attention should be directed towards resolving older open PRs and ensuring timely reviews to maintain momentum in project development.
Lars Grammel (lgrammel)
onStepFinish
callback to streamText
and enhanced telemetry features.providerMetadata
to StepResult
.lg/step-result-provider-metadata
and lg/2939
, focusing on enhancing the SDK's core functionalities.Jeremy (jeremyphilemon)
Kexi Dang (kexiZeroing)
Walter Korman (shaper)
Yoshinori Sano (yoshinorisano)
Nico Albanese (nicoalbanese)
Min Peter (minpeter)
Dependabot[bot]
Overall, the development team exhibits a collaborative spirit with a clear focus on enhancing both functionality and user experience through comprehensive documentation and active feature development.