mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-06-11 02:30:04 +08:00
feat(model): 增加模型管理和测试功能
- 新增模型删除功能 - 实现模型测试连接功能 - 优化模型选择器组件 - 更新模型相关API和数据库操作
This commit is contained in:
@@ -66,7 +66,9 @@ export const useProviderStore = create<ProviderStore>((set, get) => ({
|
||||
if (res.data.code === 0) {
|
||||
const item = res.data.data
|
||||
console.log('Provider ', item)
|
||||
|
||||
await get().fetchProviderList()
|
||||
return item
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error fetching provider:', error)
|
||||
|
||||
Reference in New Issue
Block a user