openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
25 lines (24 loc) • 990 B
TypeScript
import type { ReasoningLevel, ThinkLevel } from "../auto-reply/thinking.js";
import type { GetReplyOptions, ReplyPayload } from "../auto-reply/types.js";
import type { OpenClawConfig } from "../config/config.js";
import { type SessionEntry } from "../config/sessions.js";
import { type BlockReplyChunking } from "./pi-embedded-block-chunker.js";
type RunBtwSideQuestionParams = {
cfg: OpenClawConfig;
agentDir: string;
provider: string;
model: string;
question: string;
sessionEntry: SessionEntry;
sessionStore?: Record<string, SessionEntry>;
sessionKey?: string;
storePath?: string;
resolvedThinkLevel?: ThinkLevel;
resolvedReasoningLevel: ReasoningLevel;
blockReplyChunking?: BlockReplyChunking;
resolvedBlockStreamingBreak?: "text_end" | "message_end";
opts?: GetReplyOptions;
isNewSession: boolean;
};
export declare function runBtwSideQuestion(params: RunBtwSideQuestionParams): Promise<ReplyPayload | undefined>;
export {};