func (l *LocalStorage) Save(key string, data []byte) error {
path := filepath.Join(l.root, key)
filePath := filepath.Dir(path)
if err := os.MkdirAll(filePath, 0o755); err != nil {
return err
}
return os.WriteFile(path, data, 0o644)
}
dify pluge model provider like langgenius/deepseek:0.0.11@35bcd3f233f99d07bdadef8b326945df3bda5e8f773330144bc90d84800336b9 this os.WriteFile(path, data, 0o644) is error, you should return error info