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: Thread titles should auto-summarize Topic #1803

Closed
wants to merge 2 commits into from

Conversation

0xgokuz
Copy link
Contributor

@0xgokuz 0xgokuz commented Jan 26, 2024

Issue #979

The only thing I'm unsure is EventHandler.tsx

@0xgokuz 0xgokuz force-pushed the feat-979 branch 10 times, most recently from 36acb05 to 84b5e60 Compare January 27, 2024 10:32
@0xgokuz 0xgokuz changed the title [WIP] feat: Thread titles should auto-summarize Topic feat: Thread titles should auto-summarize Topic Jan 27, 2024
@hiro-v hiro-v requested a review from louis-jan January 27, 2024 16:00
@0xgokuz 0xgokuz force-pushed the feat-979 branch 9 times, most recently from b6e6552 to b291e86 Compare January 31, 2024 03:55
@hiro-v hiro-v self-requested a review February 1, 2024 08:40
@0xgokuz 0xgokuz force-pushed the feat-979 branch 5 times, most recently from 96b595a to dd3d6ae Compare February 2, 2024 04:30
@@ -5,4 5,8 @@ export enum MessageEvent {
OnMessageResponse = 'OnMessageResponse',
/** The `OnMessageUpdate` event is emitted when a message is updated. */
OnMessageUpdate = 'OnMessageUpdate',

OnFirstPrompt = 'OnFirstPrompt',
Copy link
Contributor

@louis-jan louis-jan Feb 4, 2024

Choose a reason for hiding this comment

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

I think we can avoid code duplication. Let's say we can remove these, also, instead of onFirstPrompt, add a message type into MessageRequestBody, and the app's EventHandler can switch logics there. The PR would be very short and clean then.

@louis-jan
Copy link
Contributor

Since #1976 would be a cleaner one, let's close this.

@louis-jan louis-jan closed this Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants