Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): choose reasoning, speed, and permissions for scheduled tasks #16592

Closedrobertnisipeanu(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/16592/headopened View on GitHub

Showing 2 changed files with 97 additions and 41 deletions.

x
0 of 2 viewed, 2 left
93 additions and 31 deletionsapps/web/src/components/settings/ScheduledTasksSettings.tsxModified
View file
@@ -12,7 +12,6 @@
import { type ReactNode, useCallback, useEffect, useMemo, useRef, useState } from "react";
import type {
EnvironmentId,
- ModelSelection,
OrchestrationV2ThreadLaunchWorkspaceStrategy,
ProjectId,
ScheduledTask,
@@ -24,6 +23,7 @@
ThreadId,
} from "@t3tools/contracts";
import { DEFAULT_WEBHOOK_PROMPT } from "@t3tools/client-runtime/scheduled-task-webhook";
+import { createModelSelection } from "@t3tools/shared/model";
import {
MAX_WEBHOOK_DELIVERY_AGE_MINUTES,
MIN_SCHEDULED_TASK_INTERVAL_MS,
@@ -77,6 +77,8 @@
import { ToggleGroup, Toggle } from "../ui/toggle-group";
import { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyMedia } from "../ui/empty";
import { ProviderModelPicker } from "../chat/ProviderModelPicker";
+import { runtimeModeConfig, runtimeModeOptions } from "../chat/runtimeModeConfig";
+import { TraitsPicker } from "../chat/TraitsPicker";
import { Badge } from "../ui/badge";
import { Button } from "../ui/button";
import {
@@ -128,10 +130,9 @@
baseRef: "main",