ci: enforce code formatting checks for backend and frontend (#1536)

This commit is contained in:
greatmengqi
2026-03-29 15:34:38 +08:00
committed by GitHub
parent 06a623f9c8
commit 084dc7e748
105 changed files with 8253 additions and 7369 deletions
+1 -3
View File
@@ -105,9 +105,7 @@ export function formatThreadAsJSON(
}
function sanitizeFilename(name: string): string {
return (
name.replace(/[^\p{L}\p{N}_\- ]/gu, "").trim() || "conversation"
);
return name.replace(/[^\p{L}\p{N}_\- ]/gu, "").trim() || "conversation";
}
export function downloadAsFile(
+2 -1
View File
@@ -429,7 +429,8 @@ export function useThreads(
// Preserve prior semantics: if a non-positive limit is explicitly provided,
// delegate to a single search call with the original parameters.
if (maxResults !== undefined && maxResults <= 0) {
const response = await apiClient.threads.search<AgentThreadState>(params);
const response =
await apiClient.threads.search<AgentThreadState>(params);
return response as AgentThread[];
}