-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Data management api #171
Data management api #171
Conversation
@mjagkow nice job for #160! I would suggest to rename |
Ok, souds good to me, will change it. It will also take some time to test those endpoints, as of now it is still raw draft. |
906b818
to
fea4189
Compare
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.
Looks really good! Had only minor comments..
fea4189
to
2f77590
Compare
c8a2b2c
to
3345613
Compare
3345613
to
16a290f
Compare
@@ -54,7 +54,7 @@ def __init__(self, db: Session, api_client: ApiClient, user: User): | |||
self.user = user | |||
self.user_id = self.user.id if self.user else None | |||
|
|||
def log_text_reply(self, task: Task, message_id: UUID, role: str, length: int) -> Journal: | |||
def log_text_reply(self, task: Task, message_id: Optional[UUID], role: str, length: int) -> Journal: |
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.
not clear to me why the message_id became Optional now, it is essential for the journal entries. We need to clarify this via discord.
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.
Ready for merge. We can address further points in an additional PR.
Resolves #160