Commit 8543a22
committed
feat(observability): add Chat view and thread query interfaces
- 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 ChatProcessor1 parent cb42bc1 commit 8543a22
38 files changed
Lines changed: 14396 additions & 2961 deletions
File tree
- backend
- api
- handler/coze/loop/apis
- router/coze/loop/apis
- kitex_gen/coze/loop
- apis/observabilitytraceservice
- observability
- observabilitytraceservice
- trace
- traceservice
- loop_gen/coze/loop/observability/lotrace
- modules/observability
- application
- convertor/trace
- mocks
- domain
- task/service/taskexe/tracehub
- trace
- entity
- loop_span
- repo
- service
- mocks
- trace/span_processor
- infra/repo
- ck
- dao
- idl/thrift/coze/loop/observability
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 108 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments