-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[router] conversation item API: create, retrieve and delete #11369
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
Conversation
/gemini review |
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
/gemini review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces significant new functionality for creating, retrieving, and deleting conversation items, along with the necessary data storage and routing logic. The changes are extensive and well-structured, particularly the logic for handling item creation with or without provided IDs and the ability to reference existing items. I've identified a few areas for improvement, mainly related to performance in the in-memory store, code maintainability in the main conversation handler, and a small bug in one of the new tests. My comments provide specific suggestions to address these points.
Hi @slin1237 this pr is ready for review.
|
Motivation
This PR enables feature:
Modifications
Accuracy Tests
create item using item reference
create item which has record in db
Create item that not in DB
Retrive a conversation item
Delete a conversation item
Benchmarking and Profiling
Checklist