[ci skip] Add Modal GLM-5 model to OpenClaw, fix streaming and download reliability

- Add modal provider (GLM-5-FP8) as primary model with non-streaming mode
  (GLM-5 uses non-standard reasoning_content field incompatible with streaming)
- Add curl --retry flags to init container downloads for reliability
- Fallback chain: GLM-5 → Gemini 2.5 Flash → Llama 3.3 70B
This commit is contained in:
Viktor Barzin 2026-02-19 23:17:08 +00:00
parent 66f1867ccb
commit dbab20995b
No known key found for this signature in database
GPG key ID: 0EB088298288D958
4 changed files with 21 additions and 7 deletions

View file

@ -160,6 +160,7 @@ variable "openclaw_skill_secrets" { type = map(string) }
variable "gemini_api_key" { type = string }
variable "llama_api_key" { type = string }
variable "brave_api_key" { type = string }
variable "modal_api_key" { type = string }
variable "k8s_users" {
type = map(any)
@ -707,6 +708,7 @@ module "kubernetes_cluster" {
gemini_api_key = var.gemini_api_key
llama_api_key = var.llama_api_key
brave_api_key = var.brave_api_key
modal_api_key = var.modal_api_key
k8s_users = var.k8s_users
ssh_private_key = var.ssh_private_key