Repository navigation
Show the answer's knowledge-space flags above the answer - #3
Merged
Merged
Conversation
weave-api now sends the flags of an answer's knowledge spaces (e.g. "Nur intern – nicht an Kunden weitergeben") as notices on the sources event of /v1/chat/stream. The panel keeps them on the answer and shows them in an orange note above it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01W9t7FeeNk6F58F7idvjjf9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
weave-api now sends the flags of an answer's knowledge spaces as
noticeson thesourcesevent of/v1/chat/stream, for example "Nur intern – nicht an Kunden weitergeben". The panel keeps them on the answer and shows them as an orange note above it, in light and dark mode, with an English translation of the label. Onlyui/panel.js,ui/style.cssandui/common.jschange.Needs the API change from bl0rb/Weave (branch
claude/beautiful-bell-bzmhfi, "API: expose answer notices…"). Without it, the event carries nonoticesand the app looks exactly as before.Test plan
ui/panel.jsGenerated by Claude Code