ai/at
1
0

fix install.zsh

This commit is contained in:
2025-06-26 20:44:05 +09:00
parent ded3110fce
commit dabd3f11f1
2 changed files with 51 additions and 77 deletions

View File

@ -15,7 +15,7 @@ function at-env() {
collection=`echo $at_uri|cut -d / -f 4`
rkey=`echo $at_uri|cut -d / -f 5`
d=${0:a:h}
f=~/.config/ai/token.json
f=~/.config/syui/ai/bot/token.json
if [ -f $f ];then
host=`cat $f|jq -r ".didDoc.service.[].serviceEndpoint"|cut -d / -f 3`
token=`cat $f|jq -r .accessJwt`