#!/bin/bash set -Eeuo pipefail jq --rawfile value "/secrets/MODEL_KEY" '.providers.gufo.apiKey = $value' /templates/models.json > /config/models.json jq --rawfile value "/secrets/PASEO_KEY_HASH" '.daemon.auth.password = $value' /templates/config.json > /config/config.json