Run prettier on everything (#104)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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",
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -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")}`,
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user