mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(llama-cpp): explain cleanup failure recovery
This commit is contained in:
@@ -869,7 +869,7 @@ describe("llama.cpp inference provider", () => {
|
||||
const disposing = inferenceRuntime.dispose();
|
||||
rejectCleanup(new Error("context cleanup failed"));
|
||||
await expect(unavailable.result()).resolves.toMatchObject({
|
||||
errorMessage: "llama.cpp runtime stopped after cleanup failed",
|
||||
errorMessage: expect.stringContaining("openclaw gateway restart"),
|
||||
});
|
||||
await expect(disposing).rejects.toThrow("context cleanup failed");
|
||||
expectDisposeCalls(2, 1, 0);
|
||||
|
||||
@@ -95,7 +95,7 @@ function runtimeUnavailableMessage(
|
||||
content: [],
|
||||
stopReason: "error",
|
||||
errorMessage: state.cleanupFailure
|
||||
? "llama.cpp runtime stopped after cleanup failed"
|
||||
? "llama.cpp runtime stopped after cleanup failed. Run `openclaw gateway restart` to recover."
|
||||
: "llama.cpp runtime is stopping",
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user