fix: resolve unused variable and update CI service names/ports
Some checks failed
BotServer CI / build (push) Has been cancelled

This commit is contained in:
Rodrigo Rodriguez 2026-04-30 19:16:28 -03:00
parent 816165777b
commit 18ce9cb317
2 changed files with 4 additions and 4 deletions

View file

@ -55,14 +55,14 @@ jobs:
ssh -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
gbuser@system \
"sudo systemctl stop botserver || true && \
sudo systemctl stop ui || true && \
sudo systemctl stop botui || true && \
sudo mv /opt/gbo/bin/botserver-new /opt/gbo/bin/botserver && \
sudo mv /opt/gbo/bin/botui-new /opt/gbo/bin/botui && \
sudo chmod +x /opt/gbo/bin/botserver /opt/gbo/bin/botui && \
sudo systemctl start botserver && \
sudo systemctl start ui"
sudo systemctl start botui"
sleep 10
ssh -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
gbuser@system \
"curl -sf http://localhost:5858/api/health && echo 'BotServer OK' || echo 'BotServer FAILED'; \
curl -sf http://localhost:3000/ && echo 'BotUI OK' || echo 'BotUI FAILED'"
curl -sf http://localhost:5859/ && echo 'BotUI OK' || echo 'BotUI FAILED'"

View file

@ -911,7 +911,7 @@ let system_prompt = if !message.active_switchers.is_empty() {
stream_token: None,
is_complete: true,
suggestions,
switchers: Vec::new(),
switchers,
context_name: None,
context_length: 0,
context_max_length: 0,