🎉 初始化项目
This commit is contained in:
15
server/model/app/response/ai_provider_extra.go
Normal file
15
server/model/app/response/ai_provider_extra.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package response
|
||||
|
||||
// ModelInfo 模型信息
|
||||
type ModelInfo struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
OwnedBy string `json:"ownedBy"`
|
||||
}
|
||||
|
||||
// TestConnectionResponse 测试连接响应
|
||||
type TestConnectionResponse struct {
|
||||
Success bool `json:"success"`
|
||||
Message string `json:"message"`
|
||||
Latency int64 `json:"latency"` // 延迟(毫秒)
|
||||
}
|
||||
Reference in New Issue
Block a user