chore: restore OpenClaw branding

This commit is contained in:
Vignesh Natarajan
2026-02-02 21:10:10 -08:00
committed by Vignesh
parent 9bef525944
commit f72214725d
4 changed files with 38 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
import { Type } from "@sinclair/typebox";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import type { MemoryCitationsMode } from "../../config/types.memory.js";
import type { MemorySearchResult } from "../../memory/types.js";
import type { AnyAgentTool } from "./common.js";
@@ -23,7 +23,7 @@ const MemoryGetSchema = Type.Object({
});
export function createMemorySearchTool(options: {
config?: MoltbotConfig;
config?: OpenClawConfig;
agentSessionKey?: string;
}): AnyAgentTool | null {
const cfg = options.config;
@@ -84,7 +84,7 @@ export function createMemorySearchTool(options: {
}
export function createMemoryGetTool(options: {
config?: MoltbotConfig;
config?: OpenClawConfig;
agentSessionKey?: string;
}): AnyAgentTool | null {
const cfg = options.config;
@@ -126,7 +126,7 @@ export function createMemoryGetTool(options: {
};
}
function resolveMemoryCitationsMode(cfg: MoltbotConfig): MemoryCitationsMode {
function resolveMemoryCitationsMode(cfg: OpenClawConfig): MemoryCitationsMode {
const mode = cfg.memory?.citations;
if (mode === "on" || mode === "off" || mode === "auto") {
return mode;