Skip to content

Append user chat content only if specified#257

Open
kylecarbs wants to merge 1 commit intogoogle:mainfrom
kylecarbs:main
Open

Append user chat content only if specified#257
kylecarbs wants to merge 1 commit intogoogle:mainfrom
kylecarbs:main

Conversation

@kylecarbs
Copy link
Copy Markdown

Otherwise, requesting with just the context results in 400.

Otherwise, requesting with just the context results in 400.
@MarkDaoust
Copy link
Copy Markdown
Member

MarkDaoust commented Apr 10, 2025

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?

I don't think any of our other SDKs support this.

@MarkDaoust MarkDaoust added type:feature request New feature request or enhancement status:awaiting user response Awaiting a response from the author p3 labels Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p3 status:awaiting user response Awaiting a response from the author type:feature request New feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants