Compare commits

..

1 Commits

Author SHA1 Message Date
Ettore Di Giacinto
748f60c11e feat(browseragent): post screenshot on slack
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-04-24 23:14:15 +02:00
5 changed files with 5 additions and 21 deletions

View File

@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v2
- run: |
# Add Docker's official GPG key:
sudo apt-get update

View File

@@ -20,10 +20,10 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o mcpbox ./cmd/mcpbox
# Final stage
FROM ubuntu:22.04
FROM alpine:3.19
# Install runtime dependencies
RUN apt-get update && apt-get install -y ca-certificates tzdata docker.io bash
RUN apk add --no-cache ca-certificates tzdata docker
# Create non-root user
#RUN adduser -D -g '' appuser

View File

@@ -12,11 +12,6 @@ services:
- /dev/dri/card1
- /dev/dri/renderD129
mcpbox:
extends:
file: docker-compose.yaml
service: mcpbox
localrecall:
extends:
file: docker-compose.yaml

View File

@@ -17,11 +17,6 @@ services:
count: 1
capabilities: [gpu]
mcpbox:
extends:
file: docker-compose.yaml
service: mcpbox
localrecall:
extends:
file: docker-compose.yaml

View File

@@ -30,15 +30,9 @@ func NewDiscord(config map[string]string) *Discord {
duration = 5 * time.Minute
}
token := config["token"]
if !strings.HasPrefix(token, "Bot ") {
token = "Bot " + token
}
return &Discord{
conversationTracker: NewConversationTracker[string](duration),
token: token,
token: config["token"],
defaultChannel: config["defaultChannel"],
}
}