fix: resolve unused variable and update CI service names/ports
Some checks failed
BotServer CI / build (push) Has been cancelled
Some checks failed
BotServer CI / build (push) Has been cancelled
This commit is contained in:
parent
816165777b
commit
18ce9cb317
2 changed files with 4 additions and 4 deletions
|
|
@ -55,14 +55,14 @@ jobs:
|
||||||
ssh -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
|
ssh -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
|
||||||
gbuser@system \
|
gbuser@system \
|
||||||
"sudo systemctl stop botserver || true && \
|
"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/botserver-new /opt/gbo/bin/botserver && \
|
||||||
sudo mv /opt/gbo/bin/botui-new /opt/gbo/bin/botui && \
|
sudo mv /opt/gbo/bin/botui-new /opt/gbo/bin/botui && \
|
||||||
sudo chmod +x /opt/gbo/bin/botserver /opt/gbo/bin/botui && \
|
sudo chmod +x /opt/gbo/bin/botserver /opt/gbo/bin/botui && \
|
||||||
sudo systemctl start botserver && \
|
sudo systemctl start botserver && \
|
||||||
sudo systemctl start ui"
|
sudo systemctl start botui"
|
||||||
sleep 10
|
sleep 10
|
||||||
ssh -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
|
ssh -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
|
||||||
gbuser@system \
|
gbuser@system \
|
||||||
"curl -sf http://localhost:5858/api/health && echo 'BotServer OK' || echo 'BotServer FAILED'; \
|
"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'"
|
||||||
|
|
|
||||||
|
|
@ -911,7 +911,7 @@ let system_prompt = if !message.active_switchers.is_empty() {
|
||||||
stream_token: None,
|
stream_token: None,
|
||||||
is_complete: true,
|
is_complete: true,
|
||||||
suggestions,
|
suggestions,
|
||||||
switchers: Vec::new(),
|
switchers,
|
||||||
context_name: None,
|
context_name: None,
|
||||||
context_length: 0,
|
context_length: 0,
|
||||||
context_max_length: 0,
|
context_max_length: 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue