refactor(terminology): rename user-facing tenant labels to workspace
Align product copy, API docs, Swagger descriptions, and i18n strings with workspace terminology while keeping internal tenant identifiers and headers unchanged for API compatibility.
This commit is contained in:
@@ -2890,7 +2890,7 @@ func (s *Service) processFileToKnowledgeBase(ctx context.Context, msg *IncomingM
|
||||
tenant, err := s.tenantService.GetTenantByID(ctx, tenantID)
|
||||
if err != nil {
|
||||
logger.Errorf(ctx, "[IM] Failed to get tenant %d for file processing: %v", tenantID, err)
|
||||
s.sendFileResult(ctx, adapter, msg, msg.FileName, false, "获取租户信息失败", channel)
|
||||
s.sendFileResult(ctx, adapter, msg, msg.FileName, false, "获取空间信息失败", channel)
|
||||
return
|
||||
}
|
||||
kbCtx := context.WithValue(ctx, types.TenantIDContextKey, tenantID)
|
||||
|
||||
Reference in New Issue
Block a user