fix: add no-reply model to agents.defaults.models allowlist

Changes:
- Change default provider ID from 'dirigentway' to 'dirigent'
- Add no-reply model to agents.defaults.models allowlist during install
- Fix no-reply-api server default model name from 'dirigent-no-reply-v1' to 'no-reply'

This fixes the issue where dirigent/no-reply model was not showing in
'openclaw models list' and was being rejected as 'not allowed'.
This commit is contained in:
zhi
2026-03-09 12:50:51 +00:00
parent 68c13d9eef
commit f2b5e8c050
2 changed files with 7 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import http from "node:http";
const port = Number(process.env.PORT || 8787);
const modelName = process.env.NO_REPLY_MODEL || "dirigent-no-reply-v1";
const modelName = process.env.NO_REPLY_MODEL || "no-reply";
const authToken = process.env.AUTH_TOKEN || "";
function sendJson(res, status, payload) {