Skip to content
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

feat: support generate id from server side #3110

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

himself65
Copy link
Contributor

Fixes: #3061

Copy link
Contributor Author

@himself65 himself65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have a look, if overall looks good I will continue on adding tests&example

/cc @lgrammel

@lgrammel
Copy link
Collaborator

lgrammel commented Sep 25, 2024

Hi thanks for taking a look at this. It would need to support multiple messages in the same stream, e.g. for multi-step tool calls. I was considering either adding it to the finishStepPart or adding a startStepPart - but it also needs some thinking regarding the mapping of steps to messages, and what objects would need ids and when.

How would you send the ids from streamText?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

generate assistant message id from backend side
2 participants