Files
FastGPT/sdk
Octopus 39d74852ca fix(storage): swap reversed sourceKey/targetKey args in OssStorageAdapter.copyObjectInSelfBucket (#6806)
The ali-oss `copy(name, sourceName)` API expects the destination as the
first argument and the source as the second. The previous implementation
passed an encoded sourceKey as the destination and targetKey as the source,
causing copy operations to attempt reading from the target path (which
does not exist yet) and writing to the source path (overwriting the original).

This bug caused custom plugin uploads to fail when using OSS storage, since
the plugin file could not be moved from the temp path to its final location.

Fixes #6787, #6648

Co-authored-by: octo-patch <octo-patch@github.com>
2026-04-23 16:24:35 +08:00
..
2026-03-20 18:07:29 +08:00