Skip to content

feat(weave): fold feedback into agent chat-view responses via include_feedback#6686

Draft
nikumar1206 wants to merge 2 commits intonikhil/feedback-helperfrom
nikhil/chat-view-feedback-foldin
Draft

feat(weave): fold feedback into agent chat-view responses via include_feedback#6686
nikumar1206 wants to merge 2 commits intonikhil/feedback-helperfrom
nikhil/chat-view-feedback-foldin

Conversation

@nikumar1206
Copy link
Copy Markdown
Contributor

@nikumar1206 nikumar1206 commented Apr 22, 2026

Description

  • Fixes WB-NNNNN
  • Fixes #NNNN

Third of three stacked PRs for Phase 1 of human feedback on agent turns.

Adds `include_feedback: bool` to `agent_traces_chat` and `agent_conversation_chat`. When true, the handler runs one batched feedback query and folds results: turn feedback onto the turn, step feedback onto each message by span_id, conversation feedback onto the conversation.

Mirrors the pattern from `CallsQueryReq.include_feedback` — two queries, merged in Python, not a JOIN.

Stack: #6684#6685 → this

Testing

  • unit tests

Copy link
Copy Markdown
Contributor Author

nikumar1206 commented Apr 22, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@wandbot-3000
Copy link
Copy Markdown

wandbot-3000 Bot commented Apr 22, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
weave/trace_server/agents/clickhouse.py 81.81% 5 Missing and 1 partial ⚠️
...ve/trace_server/clickhouse_trace_server_batched.py 66.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@nikumar1206 nikumar1206 force-pushed the nikhil/feedback-helper branch from f79deec to fb7cae6 Compare April 22, 2026 21:44
@nikumar1206 nikumar1206 force-pushed the nikhil/chat-view-feedback-foldin branch 2 times, most recently from 90af7e8 to 37069c1 Compare April 22, 2026 21:47
@nikumar1206 nikumar1206 force-pushed the nikhil/feedback-helper branch 2 times, most recently from 2595246 to f9a7ac8 Compare April 23, 2026 16:49
@nikumar1206 nikumar1206 force-pushed the nikhil/chat-view-feedback-foldin branch from 7f1fdb3 to e624142 Compare April 23, 2026 16:49
@nikumar1206 nikumar1206 force-pushed the nikhil/chat-view-feedback-foldin branch from e624142 to f81149e Compare April 23, 2026 17:09
@nikumar1206 nikumar1206 force-pushed the nikhil/feedback-helper branch from f9a7ac8 to 5aff0f6 Compare April 23, 2026 17:09
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.

1 participant