-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Support reasoning-field outputs and visible final-answer handling for native reasoning models #74021
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Support reasoning-field outputs and visible final-answer handling for native reasoning models
Summary
Native reasoning models can return the useful answer in
message.reasoningwhilemessage.contentis null or incomplete. This makes benchmark scores and OpenClaw compatibility misleading unless the harness and runtime explicitly support reasoning fields and/or enforce visible final answers.This is a feature request for OpenClaw compatibility and
oc llmbenchmark/reporting support for reasoning-aware model outputs. It is not a Nemotron bug and not a vLLM bug.Background / context
Evidence comes from the Nemotron Super GB10 benchmark investigation under:
/root/.openclaw/workspace/benchmarking/nemotron_config_matrix_2026_04/Known context:
nemotron-3-supernvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4oc llmnon-smoke benchmarkProblem
Native reasoning mode can improve model quality substantially, but OpenClaw currently appears to be at risk of underusing or mishandling these outputs if it only consumes visible
message.content.Observed issue:
content:nullwhile the reasoning field had the useful answer.Evidence from Nemotron Lane B
Verified from the local corrected metrics and audit files:
Per-pack visible-content-only scores:
Audit interpretation:
Native reasoning is higher quality after corrected final-answer extraction, but OpenClaw usability without reasoning-field support is poor because native reasoning frequently returned
content:nullor no final answer in visible content.Desired behavior
OpenClaw and
oc llmshould explicitly support reasoning-aware response handling rather than silently treatingcontent:nullas an ordinary empty/failed model response when a usefulmessage.reasoningfield exists.The system should be able to answer separate questions:
message.content,message.reasoning, or a fallback path?Proposed design
1. Reasoning field ingestion
message.reasoningwhen present.message.reasoningwhenmessage.contentis null or incomplete.2. Visible final answer enforcement
message.content.{ "extra_body": { "chat_template_kwargs": { "force_nonempty_content": true } } }3. Extraction source reporting
Store these fields in
oc llmresult output:message.contentmessage.reasoningcontent,reasoning, orfallbackInclude these in JSON and markdown reports.
4. Model profile support
Add model profile fields such as:
supports_reasoning_field: truerequires_visible_content: true/falsefinal_answer_extraction: content_first | reasoning_allowed | content_onlyforce_nonempty_content: true/falsenative_reasoning_enabled: true/false5. Reporting
In
oc llmreports, include:Suggested scoring/reporting modes
Add separate scoring modes:
quality_score: may use reasoning field if configuredvisible_content_score: only uses visible contentopenclaw_compat_score: tests whether the result is usable by normal OpenClaw message handlingstrict_content_score: requires exact visible outputreasoning_aware_score: allows final extraction from reasoningThe same Lane B dataset should show both:
Reports should clearly warn when a mode is high quality but poor content compatibility.
Operational routing implications
OpenClaw should be able to route native-reasoning models differently:
This is important because a native reasoning model may be strong for hard reasoning but unreliable for visible-content-only or strict structured-output tasks.
Acceptance criteria
oc llmcan report both reasoning-aware and visible-content-only scores.oc llmrecords whether each answer came frommessage.contentormessage.reasoning.message.reasoningfor final-answer extraction when configured.content:nullas equivalent to an empty/failed model response when a reasoning field exists.Attachments / local evidence paths
/root/.openclaw/workspace/benchmarking/nemotron_config_matrix_2026_04/results/B_native_reasoning_metrics_20260429_004524.json/root/.openclaw/workspace/benchmarking/nemotron_config_matrix_2026_04/results/B_native_reasoning_corrected_metrics_20260429_005736.json/root/.openclaw/workspace/benchmarking/nemotron_config_matrix_2026_04/reports/B_native_reasoning_scorer_audit_20260429_005736.md/root/.openclaw/workspace/benchmarking/nemotron_config_matrix_2026_04/reports/A_vs_B_native_reasoning_comparison_20260429_004524.md/root/.openclaw/workspace/benchmarking/nemotron_config_matrix_2026_04/PROJECT_STATUS.mdRelationship to scorer bug issue
This is related to, but separate from, the scorer bug filed as:
#74017
The scorer bug is: correct final extracted answers were marked wrong when
ambiguity_flag=true.This feature request is: OpenClaw should explicitly support and report native reasoning output shapes, including cases where the useful answer is in
message.reasoningwhilemessage.contentis null or incomplete.