WeKnora/internal/application
wizardchen 3756c7c796 feat(session): restrict @mentions to agent's allowed knowledge base scope
- Implemented logic to filter user-provided KB and knowledge IDs based on the shared agent's allowed scope.
- Added a new method, restrictMentionsToAgentScope, to validate and restrict @mentions, preventing unauthorized access to knowledge bases.
- Enhanced logging to provide visibility into blocked mentions and the filtering process.
2026-04-02 10:31:20 +08:00
..
repository Revert "refactor(elasticsearch): remove ".keyword" suffix from ID fields in Elasticsearch queries" 2026-04-01 20:41:24 +08:00
service feat(session): restrict @mentions to agent's allowed knowledge base scope 2026-04-02 10:31:20 +08:00