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

fix: add factory fn to determine whether a msg is ai generated #2829

Merged
merged 3 commits into from
Dec 5, 2024

Conversation

isekovanic
Copy link
Contributor

🎯 Goal

This PR makes sure that we are no longer relying on message.ai_generated, but rather expose a factory function that would allow integrators to define this themselves. This should provide full flexibility over the SDK.

🛠 Implementation details

🎨 UI Changes

iOS
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@Stream-SDK-Bot
Copy link
Contributor

Stream-SDK-Bot commented Dec 5, 2024

SDK Size

title develop branch diff status
js_bundle_size 453 KB 453 KB -17 B 🚀

@isekovanic isekovanic merged commit 79542d8 into develop Dec 5, 2024
7 checks passed
@isekovanic isekovanic deleted the fix/is-ai-message-factory-fn branch December 5, 2024 14:04
@github-actions github-actions bot mentioned this pull request Dec 5, 2024
6 tasks
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 5.44.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

4 participants