Skip to content

Add SMS message skill#375

Open
tylxr59 wants to merge 2 commits intoStypox:masterfrom
tylxr59:add-sms-skill
Open

Add SMS message skill#375
tylxr59 wants to merge 2 commits intoStypox:masterfrom
tylxr59:add-sms-skill

Conversation

@tylxr59
Copy link
Contributor

@tylxr59 tylxr59 commented Dec 14, 2025

Added SMS skill, based on the telephone skill.

The sentences are setup so you can add your message into the first query ("Send a message to Tyler that says Can you grab cat food at the store") or in two-steps ("Send a message to Tyler" -> "What do you want the message to say?" -> "Can you grab cat food at the store?")

Resolves #270

Copy link
Owner

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

I feel like #266 should be solved first, and then this PR should reuse the same strategies from that PR. In any case, duplicating the whole contact selection mechanism from the phone skill is a no-go, so please rework this PR to reuse most of the classes of the phone skill.

Copy link
Owner

Choose a reason for hiding this comment

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

As I already mentioned in the other PRs, LLMs are not good at writing these files. Please write it yourself using the guide from https://github.com/Stypox/dicio-sentences-compiler

override fun getSpeechOutput(ctx: SkillContext): String = if (name == null) {
ctx.getString(R.string.skill_sms_not_sending)
} else {
"" // do not speak anything since the message was sent
Copy link
Owner

Choose a reason for hiding this comment

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

Saying something while a call is starting is bad, but saying something while a message is being sent is fine

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.

Send SMS messages

2 participants