Hi everyone,
I’ve been happy user of langchainjs, and I am now looking to make my very first contribution to the open-source community. Please bear with me if I’m not following the exact protocol.
I noticed that the GitHub Issues section is primarily for bug reports, and it directed me here to this forum for feature requests. I have a specific improvement in mind regarding @langchain/google-genai:
The Proposal: Currently, to set the TaskType option for embeddings, users are forced to manually install and import the @google/generative-ai package separately. However, as Google has officially deprecated the @google/generative-ai SDK, it feels counterintuitive to require this as an extra dependency just for a few Enums.
I believe it would be much better to export those Enums (like TaskType) directly from @langchain/google-genai to streamline the developer experience and remove the need for a deprecated peer dependency.
I would be thrilled to work on this and contribute the code myself. Is this the right place to discuss this, and would the team be open to an issue for this request?
I’d love to hear your guidance on how I can proceed with this contribution.