mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 00:40:23 +00:00
fix: detect Ollama "prompt too long" as context overflow error (#34019)
Merged via squash.
Prepared head SHA: 825a402f0f
Co-authored-by: lishuaigit <7495165+lishuaigit@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
This commit is contained in:
@@ -33,7 +33,6 @@ function sortStrings(values: readonly string[]) {
|
||||
}
|
||||
|
||||
const contractRuntime = createNonExitingRuntime();
|
||||
|
||||
function expectDirectoryEntryShape(entry: ChannelDirectoryEntry) {
|
||||
expect(["user", "group", "channel"]).toContain(entry.kind);
|
||||
expect(typeof entry.id).toBe("string");
|
||||
|
||||
Reference in New Issue
Block a user