mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
Refactor: migrate artifact API (#14348)
### What problem does this PR solve? Before migration: GET /v1/document/artifact/<filename> After migration: GET /api/v1/documents/artifact/<filename> ### Type of change - [x] Refactoring
This commit is contained in:
@@ -533,7 +533,7 @@ class CodeExec(ToolBase, ABC):
|
||||
|
||||
settings.STORAGE_IMPL.put(SANDBOX_ARTIFACT_BUCKET, storage_name, binary)
|
||||
|
||||
url = f"/v1/document/artifact/{storage_name}"
|
||||
url = f"/api/v1/documents/artifact/{storage_name}"
|
||||
uploaded.append(
|
||||
{
|
||||
"name": name,
|
||||
|
||||
Reference in New Issue
Block a user