Merge k3s files into security_shield_v2

This commit is contained in:
stevef 2026-04-19 22:28:43 +02:00
commit 69fab6427e
3 changed files with 5 additions and 43 deletions

View file

@ -309,12 +309,12 @@ vet: generate
## test: Test Go code
test: generate
@$(GO) test $(GOFLAGS) $$($(GO) list $(GOFLAGS) ./... | grep -v github.com/sipeed/picoclaw/web/)
@$(GO) test $(GOFLAGS) -p 1 $$($(GO) list $(GOFLAGS) ./... | grep -v github.com/sipeed/picoclaw/web/) -timeout 120s
@cd web && make test
## fmt: Format Go code
fmt:
@go fmt ./...
@gofmt -s -w $$(find . -name "*.go" -not -path "./web/*" -not -path "./vendor/*")
## lint-docs: Check common documentation layout and naming conventions
lint-docs:
@ -369,7 +369,7 @@ docker-run:
## docker-build-rpi: Build Raspberry Pi specific Docker image (ARM64)
docker-build-rpi:
@echo "Building Raspberry Pi Docker image (ARM64)..."
docker build --platform linux/arm64 -t $(DOCKER_USER)/picoclaw-rpi:latest -f docker/Dockerfile.rpi .
docker build --no-cache --platform linux/arm64 -t $(DOCKER_USER)/picoclaw-rpi:latest -f docker/Dockerfile.rpi .
## docker-push-rpi: Push Raspberry Pi specific Docker image (ARM64)
docker-push-rpi:

View file

@ -14,11 +14,7 @@
"/home/picoclaw/.picoclaw/memory"
],
"provider": "",
"model_name": "nvidia/llama-3.1-nemotron-70b-instruct",
"model_fallbacks": [
"openrouter/google/gemini-2.0-flash-exp:free",
"openrouter/mistralai/mistral-7b-instruct:free"
],
"model_name": "nemotron-3-super-120b-a12b",
"max_tokens": 32768,
"max_tool_iterations": 50,
"summarize_message_threshold": 20,
@ -245,21 +241,6 @@
}
},
"model_list": [
{
"model_name": "nvidia/nemotron-3-super-120b-a12b",
"model": "nvidia/nemotron-3-super-120b-a12b",
"provider": "openrouter"
},
{
"model_name": "google/gemini-2.0-flash-exp:free",
"model": "google/gemini-2.0-flash-exp:free",
"provider": "openrouter"
},
{
"model_name": "mistralai/mistral-7b-instruct:free",
"model": "mistralai/mistral-7b-instruct:free",
"provider": "openrouter"
},
{
"model_name": "glm-4.7",
"model": "zhipu/glm-4.7",

View file

@ -21,11 +21,7 @@ data:
"/home/picoclaw/.picoclaw/memory"
],
"provider": "",
"model_name": "nvidia/llama-3.1-nemotron-70b-instruct",
"model_fallbacks": [
"openrouter/google/gemini-2.0-flash-exp:free",
"openrouter/mistralai/mistral-7b-instruct:free"
],
"model_name": "nemotron-3-super-120b-a12b",
"max_tokens": 32768,
"max_tool_iterations": 50,
"summarize_message_threshold": 20,
@ -252,21 +248,6 @@ data:
}
},
"model_list": [
{
"model_name": "nvidia/nemotron-3-super-120b-a12b",
"model": "nvidia/nemotron-3-super-120b-a12b",
"provider": "openrouter"
},
{
"model_name": "google/gemini-2.0-flash-exp:free",
"model": "google/gemini-2.0-flash-exp:free",
"provider": "openrouter"
},
{
"model_name": "mistralai/mistral-7b-instruct:free",
"model": "mistralai/mistral-7b-instruct:free",
"provider": "openrouter"
},
{
"model_name": "glm-4.7",
"model": "zhipu/glm-4.7",