refactor: rename to openclaw
This commit is contained in:
1 parent
4583f88626
commit
9a7160786a
2357 files changed
+16688
-16788
No files matched your search
@@ -3,7 +3,7 @@
|
||||
// the chunk so messages are only split when they truly exceed the limit.
|
||||
|
||||
import type { ChannelId } from "../channels/plugins/types.js";
|
||||
import type { MoltbotConfig } from "../config/config.js";
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
import { findFenceSpanAt, isSafeFenceBreak, parseFenceSpans } from "../markdown/fences.js";
|
||||
import { normalizeAccountId } from "../routing/session-key.js";
|
||||
import { INTERNAL_MESSAGE_CHANNEL } from "../utils/message-channel.js";
|
||||
@@ -52,7 +52,7 @@ function resolveChunkLimitForProvider(
|
||||
}
|
||||
|
||||
export function resolveTextChunkLimit(
|
||||
cfg: MoltbotConfig | undefined,
|
||||
cfg: OpenClawConfig | undefined,
|
||||
provider?: TextChunkProvider,
|
||||
accountId?: string | null,
|
||||
opts?: { fallbackLimit?: number },
|
||||
@@ -98,7 +98,7 @@ function resolveChunkModeForProvider(
|
||||
}
|
||||
|
||||
export function resolveChunkMode(
|
||||
cfg: MoltbotConfig | undefined,
|
||||
cfg: OpenClawConfig | undefined,
|
||||
provider?: TextChunkProvider,
|
||||
accountId?: string | null,
|
||||
): ChunkMode {
|
||||
|
||||
Reference in new issue
Block a user