feat: 新增对多家平台的模型适配

This commit is contained in:
nullkey
2025-12-29 01:31:27 +08:00
committed by lyingbug
parent 0b711a6739
commit e9a2a7b3e5
38 changed files with 2963 additions and 132 deletions
+2
View File
@@ -80,6 +80,8 @@ type ChatConfig struct {
ModelName string
APIKey string
ModelID string
Provider string
Extra map[string]any
}
// NewChat 创建聊天实例