saherelm
ef1421def4
Move Knowledge Constants and Fix Inverted Ownership Filters
- Add XAiKnowledgeScope enum (Conversation=0, Project=1, Global=2, User=3) with StringValue prefixes;
- Add Knowledge constants, scope prefixes, metadata keys and XAiErrorRoute to XAiModelsConstants;
- Fix inverted ownerId condition in QueryProjects / QueryConversations / QueryMessages
(ownership filter was skipped for real owners -> cross-user data exposure);
- Fix inverted HasChild() validation in HasDefaultProject / HasDefaultConversation;
- LoadConversations: ignore soft-deleted conversations;
- CreateProject / CreateConversation: set isDefaultLanguageHandled = true;
- GetDefaultConversation: use projectId instead of unloaded project.Id.
2026-10-29 19:58:47 +03:30
..
2026-10-21 09:57:28 +03:30
2026-10-21 17:54:52 +03:30
2026-10-21 09:57:28 +03:30
2026-10-21 09:57:28 +03:30
2026-09-06 00:18:24 +03:30
2026-09-06 00:18:24 +03:30
2026-09-03 23:58:37 +03:30
2026-10-29 19:58:47 +03:30
2026-09-06 00:18:24 +03:30
2026-09-06 00:18:24 +03:30
2026-09-06 00:18:24 +03:30
2026-09-06 00:18:24 +03:30
2026-10-21 09:57:28 +03:30