Conversation
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
异常对话仅出现在“对话事件”日志中,但此前缺少上游路由信息,管理员无法定位产生异常的上游渠道。
本次通过事件的
runID批量关联运行快照,为对话事件补充上游名称、平台模型、真实模型、绑定编码和协议,并在管理后台列表及详情中展示。路由前发生的异常保持为空,不推测上游来源。Change type
Affected areas
Verification
cd backend && go test ./...cd frontend && pnpm lintcd frontend && pnpm exec tsc --noEmitgit diff --checkScreenshots, API examples, or logs
The admin conversation event response now additionally includes:
{ "providerProtocol": "openai_responses", "upstreamName": "OpenAI Official", "platformModelName": "gpt-5.5", "routedBindingCode": "binding_openai", "upstreamModelName": "gpt-5.5-pro" }Configuration, migration, and compatibility notes
Documentation
Security and privacy
Upstream route details are exposed only through the existing administrator-only logs API.
Checklist
.pycfiles,.envfiles, and local storage data are not committed.