avastmick / google-generative-ai-rs

An unofficial rust-based client library to interact with the Google Gemini generative AI API
https://docs.rs/google-generative-ai-rs/
MIT License
21 stars 7 forks source link

Combine request and response types #10

Closed n1ght-hunter closed 8 months ago

n1ght-hunter commented 8 months ago

good lib just testing it out but noticed some of the types are identical but not combined i.e. Content in response and request.

if you want i can probably get a fix at some point but really busy for the next little bit

avastmick commented 8 months ago

Thanks, I've given it a bug label as it will make mistakes in usage easy and likely cause de/serialization errors. I'll fix.