Issue: ALL-43 - Allow user to choose model (opus or sonnet) in the builder UI
Date: 2026-01-15
| From 263700b42d405f4c5330406511f0720f79f6f353 Mon Sep 17 00:00:00 2001 | |
| From: Peter Schilling <peter@tanookilabs.com> | |
| Date: Thu, 10 Aug 2023 16:45:56 -0700 | |
| Subject: [PATCH] React | |
| --- | |
| .../{application.ts => application.tsx} | 14 ++++++++++++++ | |
| app/views/layouts/application.html.erb | 2 +- | |
| package.json | 4 ++++ | |
| 3 files changed, 19 insertions(+), 1 deletion(-) |
| import { DirectUpload } from "@rails/activestorage" | |
| import React, { useRef, useState } from "react" | |
| import Imgix, { ImgixProvider } from "react-imgix" | |
| import { withBasics } from "./withBasics" | |
| export interface Props { | |
| name: string | |
| directUploadUrl: string | |
| attachments: Attachment[] | |
| imgixSource: string |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |