Skip to content

Display accurate openai-compatible provider label and consistent Classifier events in --model-probe - #1194

Merged
Kewton merged 1 commit into
developfrom
feature/issue-1175-display-accurate-openai-compatible-provider-labe
Dec 1, 2026
Merged

Kewton merged 1 commit into
developfrom
feature/issue-1175-display-accurate-openai-compatible-provider-labe

Conversation

@Kewton

@Kewton Kewton commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Refs #1175 (close by hand after merge; this PR targets develop).

Summary

  • --model-probe now labels each role's provider accurately. An openai-compatible route shows as openai-compatible, not as the built-in provider.
  • Classifier calls in the probe emit the same audit events as in a run. The routing of those events goes through src/provider_call.rs.
  • Scoring and the JSON output of the probe are unchanged.

Verification

  • commandmate verify on b07e64f:
  • Linux clippy: 0 warnings.
  • The new tests in tests/issue521_direct_actions.rs fail on the base.
  • codex: APPROVE.

🤖 Generated with Claude Code

Resolve the Model Probe Card's role labels through config.provider_label so
a generic openai-compatible run shows openai-compatible instead of LmStudio,
while built-in providers keep their existing Debug display (Ollama, LmStudio).

Route the rebuilt Classifier client's provider_request/provider_response to
the caller's eval-events path, the same target the Executor and Planner
clients already use, instead of the probe's scratch file. The call's
provider_turn_duration still goes to the scratch file, so the probe's
diff-based scoring and notable_events are unchanged.

判断: 組み込み provider の表示は provider_label の as_str ではなく従来の Debug 表記を保ち、openai-compatible のときだけ provider_label を使う。受入基準の「lm-studio・ollama の表示は今のまま」と既存テストの Ollama 固定を守るため。
判断: scratch 側の provider_turn_duration と caller 側の provider_request/provider_response を別ファイルに分けることで、差分読みと監査出力の衝突を避けた。

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@Kewton
Kewton merged commit 06d5ce4 into develop Dec 1, 2026
9 checks passed
@Kewton
Kewton deleted the feature/issue-1175-display-accurate-openai-compatible-provider-labe branch December 1, 2026 16:15
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