Shortcut behaving differently between iMac and MacBook

Hoping someone can help with an odd one re a Shortcut and the file it produces being saved as an .md file

As in the snip below, I’m using a shortcut to save a quick note in my Obsidian inbox.

Using it on my iMac, works perfectly, and the resulting file is saved as a Markdown file, with the correct extension of .md

However, on my MacBook Air, while the shortcut works as above, the resulting file is saved as a txt file (with the format xxx.md.txt

No idea why it’s producing a different result - any ideas welcome!

I couldn’t replicate it, but I’m wondering if this simple shortcut has the same issue. Also, are your two Macs on the same macOS version?

The closest I got was that .md is ignored in the file save sub path if it’s VariableName.md, and macOS will append that with .txt If it’s all just literal strings, e.g., texting.md, it’ll save as markdown without the rename.

I’m wondering if the Macbook Air is on a version that has that same issue, but in the Rename File action.

Thanks for replying and you may be right re versions - the Air is on the Beta of Seqouia. However, if I insert a variable in the options of the save action, it all seems to work…