Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): show reasoning settings on hover #9686

ClosedRakshithBhat03(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/9686/headopened View on GitHub

Showing 2 changed files with 24 additions and 3 deletions (loading 1).

x
0 of 2 viewed, 2 left
24 additions and 3 deletionsapps/web/src/components/chat/TraitsPicker.test.tsModified
View file
@@ -4,10 +4,11 @@
​
function selectDescriptor(
id: string,
+ label: string,
options: ReadonlyArray<{ id: string; label: string; isDefault?: boolean }>,
currentValue: string,
): Extract<ProviderOptionDescriptor, { type: "select" }> {
- return { id, label: id, type: "select", options: [...options], currentValue };
+ return { id, label, type: "select", options: [...options], currentValue };
​
function fastModeDescriptor(
@@ -34,6 +35,7 @@
​
const EFFORT = selectDescriptor(
"reasoningEffort",
+ "Reasoning",
{ id: "high", label: "High" },
{ id: "max", label: "Max" },
@@ -42,6 +44,7 @@
);
const CONTEXT_WINDOW = selectDescriptor(
"contextWindow",
+ "Context Window",
{ id: "200k", label: "200k" },