Skip to content

Conversation

@RomneyDa
Copy link
Collaborator

@RomneyDa RomneyDa commented Oct 23, 2025

Description

Disable thinking for 3/3.5

Original author @uinstinct
#8303
having build issues

@RomneyDa RomneyDa requested a review from a team as a code owner October 23, 2025 19:16
@RomneyDa RomneyDa requested review from sestinj and removed request for a team October 23, 2025 19:16
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 23, 2025
@github-actions
Copy link

github-actions bot commented Oct 23, 2025

✅ Review Complete

Code Review Summary

⚠️ Continue API authentication failed. Please check your CONTINUE_API_KEY.


Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (all 1 issues)

Understand the root cause of the following 1 issues and fix them.


<file name="core/llm/autodetect.ts">

<violation number="1" location="core/llm/autodetect.ts:149">
This guard now disables reasoning for Claude 3.7 models because their identifiers contain &quot;-3-&quot;, so modelSupportsReasoning returns false and reasoning is incorrectly turned off for those models.</violation>
</file>

React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.

if ("anthropic" === model.underlyingProviderName) {
if (
model.model.includes("claude") &&
!model.model.includes("-3-") &&
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Oct 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This guard now disables reasoning for Claude 3.7 models because their identifiers contain "-3-", so modelSupportsReasoning returns false and reasoning is incorrectly turned off for those models.

Prompt for AI agents
Address the following comment on core/llm/autodetect.ts at line 149:

<comment>This guard now disables reasoning for Claude 3.7 models because their identifiers contain &quot;-3-&quot;, so modelSupportsReasoning returns false and reasoning is incorrectly turned off for those models.</comment>

<file context>
@@ -144,7 +144,11 @@ function modelSupportsReasoning(
-  if (&quot;anthropic&quot; === model.underlyingProviderName) {
+  if (
+    model.model.includes(&quot;claude&quot;) &amp;&amp;
+    !model.model.includes(&quot;-3-&quot;) &amp;&amp;
+    !model.model.includes(&quot;-3.5-&quot;)
+  ) {
</file context>
Fix with Cubic

@RomneyDa RomneyDa closed this Oct 23, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Oct 23, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant