feat: add some translate#13019
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 82eb0e8266
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <el-option :label="$t('logs.detail.runtimes')" value="runtimes" /> | ||
| <el-option :label="$t('logs.detail.ai')" value="ai" /> | ||
| <el-option :label="$t('logs.detail.ai_proxy')" value="ai-proxy" /> | ||
| <el-option :label="$t('logs.detail.ai_benchmark')" value="ai_benchmark" /> |
There was a problem hiding this comment.
Use the logged source value for AI benchmark
When filtering AI benchmark operation logs, this option sends source: "ai_benchmark", but the middleware derives sources from URL path segments in loadLogInfo after stripping /core and /enterprise; /core/enterprise/ai-benchmark/... is therefore stored as ai-benchmark. Since WithBySource performs an exact source = ? match, selecting this filter returns no AI benchmark logs even though the table display already maps hyphens to underscore translation keys.
Useful? React with 👍 / 👎.
What this PR does / why we need it?
Summary of your change
Please indicate you've done the following: