@inquiryon/openclaw-amp-governance 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -120,7 +120,7 @@ async function ampLog(instanceId, message, level = 'INFO') {
|
|
|
120
120
|
async function requestHitlEval(instanceId, tool, params) {
|
|
121
121
|
const res = await fetch(`${config.AMP_BACKEND_URL}/api/hitl/request`, {
|
|
122
122
|
method: 'POST',
|
|
123
|
-
headers: { 'Content-Type': 'application/json' },
|
|
123
|
+
headers: { 'X-API-Key': config.AMP_API_KEY, 'Content-Type': 'application/json' },
|
|
124
124
|
body: JSON.stringify({
|
|
125
125
|
caller_id: instanceId,
|
|
126
126
|
instance_id: instanceId,
|