feat(ai-runtime): complete ai runtime policy refactor (ADR-035)
CI / CD Pipeline / build (push) Successful in 4m16s
CI / CD Pipeline / deploy (push) Successful in 11m51s

This commit is contained in:
2026-06-12 08:07:15 +07:00
parent 71c5e88181
commit 0227b7b982
63 changed files with 3566 additions and 451 deletions
+9
View File
@@ -44,5 +44,14 @@
"delete_confirm": "Delete this pattern?",
"loading": "Loading...",
"not_found": "Intent not found"
},
"ai_runtime_policy": {
"error_model_key_forbidden": "model.key is not allowed. The system selects the model automatically.",
"error_execution_profile_forbidden": "executionProfile is not allowed in the request payload.",
"error_temperature_forbidden": "temperature override is not allowed. Runtime parameters are managed by policy.",
"error_top_p_forbidden": "top_p override is not allowed. Runtime parameters are managed by policy.",
"error_max_tokens_forbidden": "maxTokens override is not allowed. Runtime parameters are managed by policy.",
"error_cpu_timeout": "Retrieval operation timed out on CPU fallback. Please retry later.",
"error_large_context_unauthorized": "The large-context profile requires administrator privileges."
}
}
+9 -1
View File
@@ -76,6 +76,14 @@
"processing": "กำลังประมวลผลด้วย Typhoon LLM...",
"error_vram": "VRAM ไม่เพียงพอสำหรับโหลดโมเดล Typhoon LLM",
"error_timeout": "หมดเวลาการประมวลผล LLM (120 วินาที)"
},
"ai_runtime_policy": {
"error_model_key_forbidden": "ไม่อนุญาตให้ระบุ model.key ระบบจะเลือกโมเดลให้อัตโนมัติ",
"error_execution_profile_forbidden": "ไม่อนุญาตให้ระบุ executionProfile ใน payload",
"error_temperature_forbidden": "ไม่อนุญาตให้ override ค่า temperature พารามิเตอร์ถูกควบคุมโดย Runtime Policy",
"error_top_p_forbidden": "ไม่อนุญาตให้ override ค่า top_p พารามิเตอร์ถูกควบคุมโดย Runtime Policy",
"error_max_tokens_forbidden": "ไม่อนุญาตให้ override ค่า maxTokens พารามิเตอร์ถูกควบคุมโดย Runtime Policy",
"error_cpu_timeout": "การดึงข้อมูลหมดเวลาขณะใช้ CPU fallback กรุณาลองใหม่อีกครั้ง",
"error_large_context_unauthorized": "Profile large-context ต้องการสิทธิ์ผู้ดูแลระบบ"
}
}