Skip to content

Commit 4af327c

Browse files
committed
fix: 工作台模型选择问题
1 parent 6401f6e commit 4af327c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/frontend/platform/src/pages/BuildPage/bench/ModelManagement.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const ModelManagement = ({
5858
options={llmOptions}
5959
onChange={(val) => onModelChange(index, val)}
6060
/> : <ModelSelect
61-
key={model.id}
61+
key={'model.id'}
6262
label={''}
6363
value={''}
6464
options={[]}

src/frontend/platform/src/pages/ModelPage/manage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export function useAssistantLLmModel() {
181181

182182
const { data, refetch } = useQuery({
183183
queryKey: "QueryModelsKey",
184-
queryFn: () => getAssistantModelList(),
184+
queryFn: () => getModelListApi(),
185185
select: (data) => {
186186
const llmOptions = []
187187
const embeddings = []

0 commit comments

Comments
 (0)