Feat: 支持剪切板调用
This commit is contained in:
@@ -21,14 +21,6 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
// 获取API密钥
|
||||
// apiKey := getAPIKey()
|
||||
// if apiKey == "" {
|
||||
// fmt.Println("错误: 未设置API密钥")
|
||||
// fmt.Println("请设置环境变量 SILICON_API_KEY 或在配置文件中指定")
|
||||
// os.Exit(1)
|
||||
// }
|
||||
|
||||
// 创建AI客户端
|
||||
client := ai.NewClient(config.API)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user