Skip to content

Append user chat content only if specified #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kylecarbs
Copy link

Otherwise, requesting with just the context results in 400.

Otherwise, requesting with just the context results in 400.
@MarkDaoust
Copy link
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