refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -181,7 +181,7 @@ export async function handleOpenAiHttpRequest(
const payload = coerceRequest(body);
const stream = Boolean(payload.stream);
const model = typeof payload.model === "string" ? payload.model : "moltbot";
const model = typeof payload.model === "string" ? payload.model : "openclaw";
const user = typeof payload.user === "string" ? payload.user : undefined;
const agentId = resolveAgentIdForRequest({ req, model });
@@ -223,7 +223,7 @@ export async function handleOpenAiHttpRequest(
.map((p) => (typeof p.text === "string" ? p.text : ""))
.filter(Boolean)
.join("\n\n")
: "No response from Moltbot.";
: "No response from OpenClaw.";
sendJson(res, 200, {
id: runId,
@@ -344,7 +344,7 @@ export async function handleOpenAiHttpRequest(
.map((p) => (typeof p.text === "string" ? p.text : ""))
.filter(Boolean)
.join("\n\n")
: "No response from Moltbot.";
: "No response from OpenClaw.";
sawAssistantDelta = true;
writeSse(res, {