- Anthropic Messages API mit OAuth Token Auth - Chat Interface mit Message History - Tools: read_file, write_file, edit_file, list_files - Multi-Turn Tool Loop (max 25 Iterationen) - Steps-basiertes Response Format (Text + Tool interleaved) - Sandboxed Workspace für Dateioperationen
17 lines
399 B
Bash
Executable File
17 lines
399 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ "$(hostname)" = "stein2" ]; then
|
|
echo "stein2 is not allowed to do this"
|
|
exit
|
|
fi
|
|
|
|
export PATH="$HOME/.dotnet:$PATH"
|
|
cd ~/.openclaw/workspace/projects/gott
|
|
|
|
dotnet publish -c Release -o publish
|
|
cp wwwroot/index.html publish/wwwroot/index.html
|
|
|
|
ssh -o ConnectTimeout=5 meleki@192.168.100.200 "nohup sudo systemctl restart gott > /dev/null 2>&1 &"
|
|
echo "Service restarted"
|