Run prettier on everything (#104)

This commit is contained in:
Will Chen
2025-05-06 23:02:28 -07:00
committed by GitHub
parent 744ea68ac8
commit 0d56651220
168 changed files with 1980 additions and 1907 deletions

View File

@@ -9,7 +9,7 @@ import type { CreateAppParams, CreateAppResult } from "../ipc/ipc_types";
* @returns The created app and chatId
*/
export async function createApp(
params: CreateAppParams
params: CreateAppParams,
): Promise<CreateAppResult> {
try {
return await IpcClient.getInstance().createApp(params);

View File

@@ -41,7 +41,7 @@ const providers = [
export const ModelProviderSchema = z.enum(providers);
export const cloudProviders = providers.filter(
(provider) => provider !== "ollama" && provider !== "lmstudio"
(provider) => provider !== "ollama" && provider !== "lmstudio",
);
/**

View File

@@ -49,7 +49,7 @@ export const showLoading = <T>(
loadingMessage: string,
promise: Promise<T>,
successMessage?: string,
errorMessage?: string
errorMessage?: string,
) => {
return toast.promise(promise, {
loading: loadingMessage,
@@ -61,7 +61,7 @@ export const showLoading = <T>(
export const showUncommittedFilesWarning = (files: string[]) => {
showWarning(
`Some changed files were not committed. Please use git to manually commit them.
\n\n${files.join("\n")}`
\n\n${files.join("\n")}`,
);
};