Merge k3s files into security_shield_v2
This commit is contained in:
commit
69fab6427e
3 changed files with 5 additions and 43 deletions
6
Makefile
6
Makefile
|
|
@ -309,12 +309,12 @@ vet: generate
|
||||||
|
|
||||||
## test: Test Go code
|
## test: Test Go code
|
||||||
test: generate
|
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
|
@cd web && make test
|
||||||
|
|
||||||
## fmt: Format Go code
|
## fmt: Format Go code
|
||||||
fmt:
|
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: Check common documentation layout and naming conventions
|
||||||
lint-docs:
|
lint-docs:
|
||||||
|
|
@ -369,7 +369,7 @@ docker-run:
|
||||||
## docker-build-rpi: Build Raspberry Pi specific Docker image (ARM64)
|
## docker-build-rpi: Build Raspberry Pi specific Docker image (ARM64)
|
||||||
docker-build-rpi:
|
docker-build-rpi:
|
||||||
@echo "Building Raspberry Pi Docker image (ARM64)..."
|
@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: Push Raspberry Pi specific Docker image (ARM64)
|
||||||
docker-push-rpi:
|
docker-push-rpi:
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,7 @@
|
||||||
"/home/picoclaw/.picoclaw/memory"
|
"/home/picoclaw/.picoclaw/memory"
|
||||||
],
|
],
|
||||||
"provider": "",
|
"provider": "",
|
||||||
"model_name": "nvidia/llama-3.1-nemotron-70b-instruct",
|
"model_name": "nemotron-3-super-120b-a12b",
|
||||||
"model_fallbacks": [
|
|
||||||
"openrouter/google/gemini-2.0-flash-exp:free",
|
|
||||||
"openrouter/mistralai/mistral-7b-instruct:free"
|
|
||||||
],
|
|
||||||
"max_tokens": 32768,
|
"max_tokens": 32768,
|
||||||
"max_tool_iterations": 50,
|
"max_tool_iterations": 50,
|
||||||
"summarize_message_threshold": 20,
|
"summarize_message_threshold": 20,
|
||||||
|
|
@ -245,21 +241,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"model_list": [
|
"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_name": "glm-4.7",
|
||||||
"model": "zhipu/glm-4.7",
|
"model": "zhipu/glm-4.7",
|
||||||
|
|
|
||||||
|
|
@ -21,11 +21,7 @@ data:
|
||||||
"/home/picoclaw/.picoclaw/memory"
|
"/home/picoclaw/.picoclaw/memory"
|
||||||
],
|
],
|
||||||
"provider": "",
|
"provider": "",
|
||||||
"model_name": "nvidia/llama-3.1-nemotron-70b-instruct",
|
"model_name": "nemotron-3-super-120b-a12b",
|
||||||
"model_fallbacks": [
|
|
||||||
"openrouter/google/gemini-2.0-flash-exp:free",
|
|
||||||
"openrouter/mistralai/mistral-7b-instruct:free"
|
|
||||||
],
|
|
||||||
"max_tokens": 32768,
|
"max_tokens": 32768,
|
||||||
"max_tool_iterations": 50,
|
"max_tool_iterations": 50,
|
||||||
"summarize_message_threshold": 20,
|
"summarize_message_threshold": 20,
|
||||||
|
|
@ -252,21 +248,6 @@ data:
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"model_list": [
|
"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_name": "glm-4.7",
|
||||||
"model": "zhipu/glm-4.7",
|
"model": "zhipu/glm-4.7",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue