chore: fix formatting and CI

This commit is contained in:
Shakker
2026-02-02 16:41:49 +00:00
parent 777756e1c2
commit 3711143549
10 changed files with 56 additions and 64 deletions

View File

@@ -6,12 +6,14 @@ import { handleChatScroll, scheduleChatScroll, resetChatScroll } from "./app-scr
/* ------------------------------------------------------------------ */
/** Minimal ScrollHost stub for unit tests. */
function createScrollHost(overrides: {
scrollHeight?: number;
scrollTop?: number;
clientHeight?: number;
overflowY?: string;
} = {}) {
function createScrollHost(
overrides: {
scrollHeight?: number;
scrollTop?: number;
clientHeight?: number;
overflowY?: string;
} = {},
) {
const {
scrollHeight = 2000,
scrollTop = 1500,

View File

@@ -323,7 +323,10 @@ export class OpenClawApp extends LitElement {
scrollToBottom() {
resetChatScrollInternal(this as unknown as Parameters<typeof resetChatScrollInternal>[0]);
scheduleChatScrollInternal(this as unknown as Parameters<typeof scheduleChatScrollInternal>[0], true);
scheduleChatScrollInternal(
this as unknown as Parameters<typeof scheduleChatScrollInternal>[0],
true,
);
}
async loadAssistantIdentity() {