fix(startup): rename reasoningControls.ts to avoid webpack casing collision (#6584) (#6718)

* fix(startup): rename reasoningControls.ts to avoid webpack casing collision (#6584)

* chore(6718): re-sync onto release tip; CHANGELOG entry → changelog.d fragment (fragments-first)
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-07-10 19:38:04 -03:00
committed by GitHub
parent 9d3a2528bc
commit e5c19f4a12
8 changed files with 84 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
// (fallback to the canonical vocabulary), resolved by `resolveReasoningControls`.
import type { PlaygroundParams } from "./ParamSliders";
import type { ReasoningControlSpec } from "./reasoningControls";
import type { ReasoningControlSpec } from "./reasoningControlUtils";
interface ReasoningControlsProps {
spec: ReasoningControlSpec;

View File

@@ -20,7 +20,7 @@ import ReasoningControls from "./ReasoningControls";
import {
resolveReasoningControls,
type ReasoningControlSpec,
} from "./reasoningControls";
} from "./reasoningControlUtils";
export interface ConfigState {
endpoint: PlaygroundEndpoint;

View File

@@ -9,7 +9,7 @@ import { useStreamMetrics } from "../../hooks/useStreamMetrics";
import { getModelPricing } from "@/lib/playground/types";
import type { ConfigState } from "../StudioConfigPane";
import type { StreamMetrics } from "@/shared/schemas/playground";
import { buildReasoningRequestFields } from "../reasoningControls";
import { buildReasoningRequestFields } from "../reasoningControlUtils";
interface Message {
role: "system" | "user" | "assistant";

View File

@@ -2,7 +2,7 @@
import { useState, useEffect, useCallback, useMemo } from "react";
import { compareTr } from "@/shared/utils/turkishText";
import type { ModelReasoningCapabilities } from "@/app/(dashboard)/dashboard/playground/components/reasoningControls";
import type { ModelReasoningCapabilities } from "@/app/(dashboard)/dashboard/playground/components/reasoningControlUtils";
/**
* Prefix-based format→model matching, used to pick a smart default