-- 为MacOS的开源启动器Sol增加问答功能,AppScript脚本如下,由于Sol不像某些商业启动器支持参数,所以需要单独使用输入框
set userInput to text returned of (display dialog "Please input your question:" default answer "")
set output to do shell script "/opt/homebrew/bin/ollama run llama2-uncensored:latest " & quoted form of userInput
display dialog output