Skip to content

Commit b396d95

Browse files
committed
refactor: replace default cache with user-specific cache in ChatManage class
1 parent b8cf3fb commit b396d95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/models_provider/views/model.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ class WorkspaceSharedModelSetting(APIView):
283283
)
284284
def get(self, request: Request, workspace_id: str):
285285
return result.success(
286-
WorkspaceSharedModelSerializer(data={'workspace_id': workspace_id}).get_share_model_list())
286+
WorkspaceSharedModelSerializer(data={**query_params_to_single_dict(request.query_params),
287+
'workspace_id': workspace_id}).get_share_model_list())
287288

288289

289290
class ModelList(APIView):

0 commit comments

Comments
 (0)