mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
feat(agents): flush reply pipeline before compaction wait (#35489)
Merged via squash.
Prepared head SHA: 7dbbcc510b
Co-authored-by: Sid-Qin <201593046+Sid-Qin@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
This commit is contained in:
@@ -26,8 +26,8 @@ async function loadRunEmbeddedPiAgent(): Promise<RunEmbeddedPiAgentFn> {
|
||||
|
||||
// Bundled install (built)
|
||||
// NOTE: there is no src/ tree in a packaged install. Prefer a stable internal entrypoint.
|
||||
const distModulePath = "../../../dist/extensionAPI.js";
|
||||
const mod = await import(distModulePath);
|
||||
const distExtensionApi = "../../../dist/extensionAPI.js";
|
||||
const mod = (await import(distExtensionApi)) as { runEmbeddedPiAgent?: unknown };
|
||||
// oxlint-disable-next-line typescript/no-explicit-any
|
||||
const fn = (mod as any).runEmbeddedPiAgent;
|
||||
if (typeof fn !== "function") {
|
||||
|
||||
Reference in New Issue
Block a user