update
This commit is contained in:
parent
db8bdd17b7
commit
565dc1d476
6
maple
6
maple
@ -44,7 +44,7 @@
|
|||||||
# echo -e '\033[0;34m'"/MMMMMMM
|
# echo -e '\033[0;34m'"/MMMMMMM
|
||||||
|
|
||||||
i=`cat maple|grep -n MARKER|cut -f1 -d":"`;i=$(echo $i|xargs|cut -f2 -d" ");ii=`wc -l maple|cut -f1 -d" "`;
|
i=`cat maple|grep -n MARKER|cut -f1 -d":"`;i=$(echo $i|xargs|cut -f2 -d" ");ii=`wc -l maple|cut -f1 -d" "`;
|
||||||
iii=$((ii-i));tail -n $iii $0>mpl;MD5=$(md5sum mpl|cut -f1 -d ' ');rm mpl;DM5="38b3c0badec552cd6546283fde7d6b77";
|
iii=$((ii-i));tail -n $iii $0>mpl;MD5=$(md5sum mpl|cut -f1 -d ' ');rm mpl;DM5="90531dc1c9cb527ab7dd5502118f78b8";
|
||||||
[ "$MD5" = "$DM5" ] || exit;
|
[ "$MD5" = "$DM5" ] || exit;
|
||||||
|
|
||||||
# MARKER ############################################################################################################
|
# MARKER ############################################################################################################
|
||||||
@ -723,7 +723,7 @@ cmd_services_hydra () {
|
|||||||
fi
|
fi
|
||||||
kprompt "MODE" "will this bot use openai services? " "openai" 1 0 0; RESULT=$?
|
kprompt "MODE" "will this bot use openai services? " "openai" 1 0 0; RESULT=$?
|
||||||
if [ $RESULT = "0" ]; then
|
if [ $RESULT = "0" ]; then
|
||||||
kprompt "MODE" "openai_key" "[ openai api key ] example: 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" 1 3 0; RESULT=$?
|
kprompt "MODE" "openai_key" "[ openai api key ] example: XDtj5CZLexa6Pfh8qLf9RdshVqStK6yuonIsNGhO1wJVf7Z7BxR" 1 3 0; RESULT=$?
|
||||||
echo -e "export OPENAI_KEY=$REPLY" >> storage/user/credentials/activate__hydra_dupe__services
|
echo -e "export OPENAI_KEY=$REPLY" >> storage/user/credentials/activate__hydra_dupe__services
|
||||||
OPENAI___SERVICING=1
|
OPENAI___SERVICING=1
|
||||||
else
|
else
|
||||||
@ -801,7 +801,7 @@ cmd_services () {
|
|||||||
fi
|
fi
|
||||||
kprompt "MODE" "will this bot use openai services? " "openai" 1 0 0; RESULT=$?
|
kprompt "MODE" "will this bot use openai services? " "openai" 1 0 0; RESULT=$?
|
||||||
if [ $RESULT = "0" ]; then
|
if [ $RESULT = "0" ]; then
|
||||||
kprompt "MODE" "openai_key" "[ openai api key ] example: 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" 1 3 0; RESULT=$?
|
kprompt "MODE" "openai_key" "[ openai api key ] example: XDtj5CZLexa6Pfh8qLf9RdshVqStK6yuonIsNGhO1wJVf7Z7BxR" 1 3 0; RESULT=$?
|
||||||
echo -e "export OPENAI_KEY=$REPLY" >> activation
|
echo -e "export OPENAI_KEY=$REPLY" >> activation
|
||||||
fi
|
fi
|
||||||
kprompt "MODE" "will this bot use matrix services? " "matrix" 1 0 0; RESULT=$?
|
kprompt "MODE" "will this bot use matrix services? " "matrix" 1 0 0; RESULT=$?
|
||||||
|
Loading…
Reference in New Issue
Block a user