Skip to content

Add interfaces for Client and Models #87

@reecerussell

Description

@reecerussell

I'm currently working on integrating Gemini/Vertex into my code, but I've had to create a wrapper for the current version of the SDK, to allow me to mock out the client interface for unit testing. To avoid wrapper boilerplate, it would be really helpful to add interfaces for both the Client and Models types, which would enable the use of Moq.

This addition could be easily made without any breaking changes. I'd also happily open a pull request to tackle this, but the contributing guide advised against.

Thanks team!

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions