Skip to content

Show the answer's knowledge-space flags above the answer - #3

Merged
bl0rb merged 1 commit into
mainfrom
claude/beautiful-bell-bzmhfi
Nov 5, 2026
Merged

bl0rb merged 1 commit into
mainfrom
claude/beautiful-bell-bzmhfi

Conversation

@bl0rb

@bl0rb bl0rb commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Summary

weave-api now sends the flags of an answer's knowledge spaces as notices on the sources event 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. Only ui/panel.js, ui/style.css and ui/common.js change.

Needs the API change from bl0rb/Weave (branch claude/beautiful-bell-bzmhfi, "API: expose answer notices…"). Without it, the event carries no notices and the app looks exactly as before.

Test plan

  • Syntax check of ui/panel.js
  • Manual: ask a question with an agent that flags a knowledge space; the note appears above the answer

Generated by Claude Code

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
@bl0rb
bl0rb merged commit 0ea633c into main Nov 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants