kewl
This commit is contained in:
1 parent
5635f3d6e9
commit
2767215e4e
3 files changed
+7
-7
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import "../../index.css";
|
||||
|
||||
import { ThreadId } from "@t3tools/contracts";
|
||||
import { DEFAULT_MODEL_BY_PROVIDER, ThreadId } from "@t3tools/contracts";
|
||||
import { page } from "vitest/browser";
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
import { render } from "vitest-browser-react";
|
||||
@@ -27,7 +27,7 @@ async function mountPicker(props?: {
|
||||
terminalContexts: [],
|
||||
modelSelection: {
|
||||
provider: "claudeAgent",
|
||||
model: props?.model ?? "claude-opus-4-6",
|
||||
model: DEFAULT_MODEL_BY_PROVIDER["claudeAgent"],
|
||||
options: {
|
||||
...(props?.effort ? { effort: props.effort } : {}),
|
||||
...(props?.thinkingEnabled === false ? { thinking: false } : {}),
|
||||
@@ -55,7 +55,7 @@ async function mountPicker(props?: {
|
||||
const screen = await render(
|
||||
<ClaudeTraitsPicker
|
||||
threadId={threadId}
|
||||
model={props?.model ?? "claude-opus-4-6"}
|
||||
model={DEFAULT_MODEL_BY_PROVIDER["claudeAgent"]}
|
||||
onPromptChange={onPromptChange}
|
||||
/>,
|
||||
{ container: host },
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import "../../index.css";
|
||||
|
||||
import { ProjectId, ThreadId } from "@t3tools/contracts";
|
||||
import { DEFAULT_MODEL_BY_PROVIDER, ProjectId, ThreadId } from "@t3tools/contracts";
|
||||
import { page } from "vitest/browser";
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
import { render } from "vitest-browser-react";
|
||||
@@ -24,7 +24,7 @@ async function mountPicker(props: {
|
||||
terminalContexts: [],
|
||||
modelSelection: {
|
||||
provider: "codex",
|
||||
model: "gpt-5.4",
|
||||
model: DEFAULT_MODEL_BY_PROVIDER["codex"],
|
||||
options: {
|
||||
...(props.reasoningEffort ? { reasoningEffort: props.reasoningEffort } : {}),
|
||||
...(props.fastModeEnabled ? { fastMode: true } : {}),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { type ProviderModelOptions, ThreadId } from "@t3tools/contracts";
|
||||
import { DEFAULT_MODEL_BY_PROVIDER, type ProviderModelOptions, ThreadId } from "@t3tools/contracts";
|
||||
import "../../index.css";
|
||||
|
||||
import { page } from "vitest/browser";
|
||||
@@ -29,7 +29,7 @@ async function mountMenu(props?: {
|
||||
terminalContexts: [],
|
||||
modelSelection: {
|
||||
provider,
|
||||
model: props?.model ?? "claude-opus-4-6",
|
||||
model: DEFAULT_MODEL_BY_PROVIDER["claudeAgent"],
|
||||
...(props?.modelOptions
|
||||
? {
|
||||
options:
|
||||
|
||||
Reference in new issue
Block a user