Skip to content

Commit e74829d

Browse files
committed
impr: Remove useless code
1 parent 44468f6 commit e74829d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

agentic-backend/agentic_backend/common/kf_workspace_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ def _path_user_upload() -> str:
9090

9191
@staticmethod
9292
def _path_agent_config_download(agent_id: str, key: str) -> str:
93-
logical_key = (key or "").strip().replace("\\", "/").split("/")[-1]
94-
return f"/storage/agent-config/{agent_id}/{logical_key}"
93+
return f"/storage/agent-config/{agent_id}/{key}"
9594

9695
@staticmethod
9796
def _path_agent_config_upload(agent_id: str) -> str:

0 commit comments

Comments
 (0)