mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-03 13:24:08 +00:00
fix(ci): preserve lint cleanup behavior
This commit is contained in:
@@ -1224,7 +1224,7 @@ function createRawOllamaStreamFn(
|
||||
id: model.id,
|
||||
reasoning: model.reasoning,
|
||||
};
|
||||
const shouldEmitThinking = model.reasoning || !Object.hasOwn(model, "reasoning");
|
||||
const shouldEmitThinking = model.reasoning ?? true;
|
||||
const visibleContentSanitizer = createOllamaVisibleContentSanitizer(model.id);
|
||||
const cooperativeScheduler = createOllamaStreamCooperativeScheduler(options?.signal);
|
||||
let streamStarted = false;
|
||||
|
||||
@@ -1513,5 +1513,5 @@ export async function runMantisSlackDesktopSmoke(
|
||||
}
|
||||
|
||||
function toErrorObject(error: unknown): Error {
|
||||
return error instanceof Error ? error : new Error(String(error));
|
||||
return error instanceof Error ? error : new Error(formatErrorMessage(error));
|
||||
}
|
||||
|
||||
@@ -887,5 +887,5 @@ export async function runMantisTelegramDesktopBuilder(
|
||||
}
|
||||
|
||||
function toErrorObject(error: unknown): Error {
|
||||
return error instanceof Error ? error : new Error(String(error));
|
||||
return error instanceof Error ? error : new Error(formatErrorMessage(error));
|
||||
}
|
||||
|
||||
@@ -242,7 +242,7 @@ async function runCommandWithExternalOutput(params: {
|
||||
}
|
||||
|
||||
function toErrorObject(error: unknown): Error {
|
||||
return error instanceof Error ? error : new Error(String(error));
|
||||
return error instanceof Error ? error : new Error(formatErrorMessage(error));
|
||||
}
|
||||
|
||||
function buildVisualDriverArgs(params: {
|
||||
|
||||
Reference in New Issue
Block a user