[feat][backend]: add chat view and thread query#475
Open
Conversation
kidkidkid
commented
Mar 25, 2026
backend/api/handler/coze/loop/apis/observability_trace_service.go
Outdated
Show resolved
Hide resolved
backend/modules/observability/domain/trace/entity/loop_span/filter.go
Outdated
Show resolved
Hide resolved
backend/modules/observability/domain/trace/service/trace_service.go
Outdated
Show resolved
Hide resolved
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #475 +/- ##
==========================================
+ Coverage 75.70% 75.78% +0.08%
==========================================
Files 642 643 +1
Lines 68902 69355 +453
==========================================
+ Hits 52162 52563 +401
- Misses 13465 13503 +38
- Partials 3275 3289 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
f68feaf to
84c6e66
Compare
- Add GetTraceChat/GetThreadChat/GetThreadStat IDL definitions - Add ChatMessage struct with message_type and span fields - Implement ChatProcessor for extracting last user message from model span input - Support Standard ChatCompletion and Responses API formats - Add service layer implementations with chat processor integration - Add application handler layer with permission validation - Add ChatMessagesDO2DTO convertor function - Add unit tests for ChatProcessor
…eneTraceChat/SceneThreadChat, complete processor config
…at, add GetThreadStat processor chain, improve test coverage
…dard Chat and Responses API formats
…n SQL, remove tracked bin file
7944d43 to
74f2651
Compare
74f2651 to
1086ccb
Compare
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.
What type of PR is this?
Check the PR title
(Optional) Translate the PR title into Chinese
(Optional) More detailed description for this PR(en: English/zh: Chinese)
en:
zh(optional):
(Optional) Which issue(s) this PR fixes