Merge branch 'master' into feat/streaming

This commit is contained in:
Junyan Qin (Chin)
2025-08-17 14:30:22 +08:00
committed by GitHub
76 changed files with 1706 additions and 730 deletions
@@ -7,13 +7,27 @@
align-items: center;
justify-content: space-evenly;
cursor: pointer;
transition: all 0.2s ease;
}
:global(.dark) .cardContainer {
background-color: #1f1f22;
box-shadow: 0;
}
.cardContainer:hover {
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.05);
}
:global(.dark) .cardContainer:hover {
box-shadow: 0;
}
.createCardContainer {
font-size: 90px;
color: #acacac;
}
:global(.dark) .createCardContainer {
color: #666666;
}
+2 -1
View File
@@ -61,7 +61,7 @@ export interface KnowledgeBase {
description: string;
embedding_model_uuid: string;
created_at?: string;
top_k?: number;
top_k: number;
}
export interface ApiRespProviderEmbeddingModels {
@@ -155,6 +155,7 @@ export interface KnowledgeBase {
name: string;
description: string;
embedding_model_uuid: string;
top_k: number;
created_at?: string;
updated_at?: string;
}
+10
View File
@@ -715,6 +715,16 @@ class HttpClient {
new_password: newPassword,
});
}
public changePassword(
currentPassword: string,
newPassword: string,
): Promise<{ user: string }> {
return this.post('/api/v1/user/change-password', {
current_password: currentPassword,
new_password: newPassword,
});
}
}
const getBaseURL = (): string => {