Skip to content

feat(ai): add support for additional actions - #344

Open
AnthonyLenglet wants to merge 10 commits into
sozercan:mainfrom
AnthonyLenglet:feature/ai-improvements
Open

feat(ai): add support for additional actions#344
AnthonyLenglet wants to merge 10 commits into
sozercan:mainfrom
AnthonyLenglet:feature/ai-improvements

Conversation

@AnthonyLenglet

@AnthonyLenglet AnthonyLenglet commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Description

Adds support for prompts such as:

  • "Add more like this" -> adds more songs like the currently playing track in the queue (sourced from the mix playlist)
  • "Add some " -> adds some of the artist's top songs to the queue instead of doing a basic youtube search for the artist's name
  • "Remove from queue" -> removes specific tracks from the queue
  • "Remove duplicates from queue" -> self-explanatory, removes the duplicates

Unsure if this needs to be split into multiple PR ?

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📚 Documentation update
  • 🎨 UI/UX improvement
  • ♻️ Refactoring (no functional changes)
  • 🧪 Test update
  • 🔧 Build/CI configuration

Related Issues

Fixes #342

Changes Made

Testing

  • Unit tests pass (xcodebuild test -only-testing:KasetTests)
  • Manual testing performed
  • UI tested on macOS 26+

Checklist

  • My code follows the project's style guidelines
  • I have run swiftlint --strict && swiftformat .
  • I have added tests that prove my fix/feature works
  • New and existing unit tests pass locally
  • I have updated documentation if needed
  • I have checked for any performance implications
  • My changes generate no new warnings

Screenshots

"add more songs like this to the queue"
current result new result
Image Image
"remove the weeknd from the queue"
image
current result new result
image image
"Remove duplicates from queue"
image
current result new result
image image

Additional Notes

I seem to be hitting the 12 seconds timeout barrier when doing any action with it, though this happens on both the current release and the main branch, might be due to my mac being an M1 ?

@AnthonyLenglet

Copy link
Copy Markdown
Contributor Author

I've disallowed removing the currently playing track when clearing tracks from the queue, fixing the bug shown in the "remove the weeknd from the queue" test case, where the track that was currently playing got removed

should all be good, ideally this PR could use a check on a mac m2 or newer, to make sure the timeout being hit is purely an m1 thing

@AnthonyLenglet
AnthonyLenglet marked this pull request as ready for review July 7, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Apple Intelligence support feels too restricted

1 participant