add chat
This commit is contained in:
@@ -41,6 +41,7 @@ function at-repos-env() {
|
||||
"ozone"
|
||||
"social-app"
|
||||
"feed"
|
||||
"chat"
|
||||
)
|
||||
handles=(
|
||||
"syui.syui.ai"
|
||||
@@ -93,6 +94,9 @@ function at-repos-clone() {
|
||||
if [ ! -f $d/repos/feed-generator/Dockerfile ] && [ -f $d/docker/feed/Dockerfile ];then
|
||||
cp -rf $d/docker/feed/Dockerfile $d/repos/feed-generator/
|
||||
fi
|
||||
if [ ! -d $d/repos/chat ];then
|
||||
git clone https://git.syui.ai/ai/chat $d/repos/chat
|
||||
fi
|
||||
}
|
||||
|
||||
function at-repos-pull() {
|
||||
@@ -435,6 +439,7 @@ function at-repos-docker-verify() {
|
||||
ozone) check_file="/app/services/ozone/api.js" ;;
|
||||
bgs) check_file="/relay" ;;
|
||||
plc) check_file="/app/packages/server/dist/index.js" ;;
|
||||
chat) check_file="/usr/local/bin/aichat" ;;
|
||||
*) return 0 ;;
|
||||
esac
|
||||
local cid
|
||||
|
||||
Reference in New Issue
Block a user