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

Implement AI indicator events #5499

Merged
merged 4 commits into from
Dec 4, 2024
Merged

Implement AI indicator events #5499

merged 4 commits into from
Dec 4, 2024

Conversation

skydoves
Copy link
Member

@skydoves skydoves commented Dec 3, 2024

🎯 Goal

Implement AI indicator events.

These are the raw event responses:

UnknownEvent(type=ai_indicator.update, createdAt=Tue Dec 03 19:49:40 GMT+09:00 2024, rawCreatedAt=2024-12-03T10:49:40.335003754Z, user=User(id=ai-bot-channel6091, role=admin, name=AI Bot, image=, invisible=false, privacySettings=null, language=, banned=false, devices=[], online=true, createdAt=Tue Dec 03 19:47:23 GMT+09:00 2024, updatedAt=Tue Dec 03 19:47:23 GMT+09:00 2024, lastActive=Tue Dec 03 19:47:24 GMT+09:00 2024, totalUnreadCount=0, unreadChannels=0, mutes=[], teams=[], channelMutes=[], extraData={}, deactivatedAt=null), rawData={type=ai_indicator.update, cid=messaging:channel6091, channel_id=channel6091, channel_type=messaging, user={id=ai-bot-channel6091, role=admin, created_at=2024-12-03T10:47:23.451722Z, updated_at=2024-12-03T10:47:23.451722Z, last_active=2024-12-03T10:47:24.226345706Z, banned=false, online=true, name=AI Bot}, channel_last_message_at=2024-12-03T10:49:40.114315Z, created_at=2024-12-03T10:49:40.335003754Z, ai_state=AI_STATE_THINKING, message_id=54aecd68-afbf-44d1-a17a-132e5daf319a})

UnknownEvent(type=ai_indicator.update, createdAt=Tue Dec 03 19:49:41 GMT+09:00 2024, rawCreatedAt=2024-12-03T10:49:41.031277429Z, user=User(id=ai-bot-channel6091, role=admin, name=AI Bot, image=, invisible=false, privacySettings=null, language=, banned=false, devices=[], online=true, createdAt=Tue Dec 03 19:47:23 GMT+09:00 2024, updatedAt=Tue Dec 03 19:47:23 GMT+09:00 2024, lastActive=Tue Dec 03 19:47:24 GMT+09:00 2024, totalUnreadCount=0, unreadChannels=0, mutes=[], teams=[], channelMutes=[], extraData={}, deactivatedAt=null), rawData={type=ai_indicator.update, cid=messaging:channel6091, channel_id=channel6091, channel_type=messaging, user={id=ai-bot-channel6091, role=admin, created_at=2024-12-03T10:47:23.451722Z, updated_at=2024-12-03T10:47:23.451722Z, last_active=2024-12-03T10:47:24.226345706Z, banned=false, online=true, name=AI Bot}, channel_last_message_at=2024-12-03T10:49:40.114315Z, created_at=2024-12-03T10:49:41.031277429Z, message_id=54aecd68-afbf-44d1-a17a-132e5daf319a, ai_state=AI_STATE_GENERATING})

UnknownEvent(type=ai_indicator.clear, createdAt=Tue Dec 03 19:49:45 GMT+09:00 2024, rawCreatedAt=2024-12-03T10:49:45.883025014Z, user=User(id=ai-bot-channel6091, role=admin, name=AI Bot, image=, invisible=false, privacySettings=null, language=, banned=false, devices=[], online=true, createdAt=Tue Dec 03 19:47:23 GMT+09:00 2024, updatedAt=Tue Dec 03 19:47:23 GMT+09:00 2024, lastActive=Tue Dec 03 19:47:24 GMT+09:00 2024, totalUnreadCount=0, unreadChannels=0, mutes=[], teams=[], channelMutes=[], extraData={}, deactivatedAt=null), rawData={type=ai_indicator.clear, cid=messaging:channel6091, channel_id=channel6091, channel_type=messaging, user={id=ai-bot-channel6091, role=admin, created_at=2024-12-03T10:47:23.451722Z, updated_at=2024-12-03T10:47:23.451722Z, last_active=2024-12-03T10:47:24.226345706Z, banned=false, online=true, name=AI Bot}, channel_last_message_at=2024-12-03T10:49:40.114315Z, created_at=2024-12-03T10:49:45.883025014Z, message_id=54aecd68-afbf-44d1-a17a-132e5daf319a})

🎉 GIF

Please provide a suitable gif that describes your work on this pull request

@skydoves skydoves self-assigned this Dec 3, 2024
@skydoves skydoves marked this pull request as ready for review December 3, 2024 15:07
@skydoves skydoves requested a review from a team as a code owner December 3, 2024 15:07
@skydoves skydoves added the core label Dec 4, 2024
@JcMinarro JcMinarro merged commit efca3ab into develop Dec 4, 2024
9 checks passed
@JcMinarro JcMinarro deleted the feature/ai-events branch December 4, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants