Skip to content

Commit 2a1c05a

Browse files
committed
fix: bugs
1 parent 3935c72 commit 2a1c05a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/components/sd/sd-sidebar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export function SideBar(props: { className?: string }) {
6363
};
6464
sdStore.sendTask(data, () => {
6565
setParams(getModelParamBasicData(columns, params, true));
66+
navigate(Path.SdNew);
6667
});
6768
};
6869

@@ -113,7 +114,7 @@ export function SideBar(props: { className?: string }) {
113114
onClick={() => navigate(Path.Home)}
114115
/>
115116
}
116-
logo={<SDIcon width={38} height={38} />}
117+
logo={<SDIcon width={38} height={"100%"} />}
117118
></SideBarHeader>
118119
)}
119120
<SideBarBody>

app/components/sd/sd.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ function getSdTaskStatus(item: any) {
8080
});
8181
}}
8282
>
83-
{" "}
8483
- {item.error}
8584
</span>
8685
)}

app/constant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ export const REQUEST_TIMEOUT_MS = 60000;
8787
export const EXPORT_MESSAGE_CLASS_NAME = "export-markdown";
8888

8989
export enum ServiceProvider {
90-
Stability = "Stability",
9190
OpenAI = "OpenAI",
9291
Azure = "Azure",
9392
Google = "Google",
9493
Anthropic = "Anthropic",
9594
Baidu = "Baidu",
9695
ByteDance = "ByteDance",
9796
Alibaba = "Alibaba",
97+
Stability = "Stability",
9898
}
9999

100100
// Google API safety settings, see https://ai.google.dev/gemini-api/docs/safety-settings

0 commit comments

Comments
 (0)