Merge branch 'feat/kexue-ui' into main
This commit is contained in:
commit
ffe7642165
|
|
@ -147,7 +147,7 @@ export const conversationApi = {
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
throw new Error(`获取对话列表失败: HTTP ${response.status}`);
|
throw new Error(`获取对话列表失败: HTTP ${response.status}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
const data: BackendConversation[] = await response.json();
|
const data: BackendConversation[] = await response.json();
|
||||||
return data.map(transformConversation);
|
return data.map(transformConversation);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue