generative-ai-go
generative-ai-go copied to clipboard
Append user chat content only if specified
Otherwise, requesting with just the context results in 400.
Interesting. What's the use case for sending an empty list of parts?
It looks like this will ask the model to generate another response without a user response in between, is that legal?
- Maybe it's not legal: https://github.com/google-gemini/deprecated-generative-ai-python/issues/727
I don't think any of our other SDKs support this.