PageSourceSearch

https://console.graffer.jp/aistudio/_next/static/chunks/pages/t/[s…/custom-llm-preset/new-0c2c92cc16f3bbf1.js

js graffer.jp collected 2026-09-24 08:44:03 UTC 2,360 bytes, 7 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4155f2a4-6d1a-4828-8b4e-a0ea3d3aa6eb",e._sentryDebugIdIdentifier="sentry-dbid-4155f2a4-6d1a-4828-8b4e-a0ea3d3aa6eb")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3330],{10277:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/t/[slug]/chat/custom-llm-preset/new",function(){return s(21563)}])},21563:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>j});var a=s(15383),r=s(18631),l=s(73754),o=s(75910),n=s(71689),i=s(40129),u=s(13338),d=s(76324),c=s(90265),m=s(98096),p=s(98147),h=s(96588),_=s(80063),f=s(14343),b=s(1569),y=s(13360),w=s(35388),x=s.n(w),C=s(46624);(0,m.J1)`
2  mutation CreateCustomLLMPreset($params: CreateCustomLLMPresetInput!) {
3    createCustomLLMPreset(params: $params) {
4      id
5    }
6  }
7`;let g=e=>{let t=(0,_.useRouter)(),s=(0,o.l)(),r=(0,f.useContext)(l.I),[m]=(0,p.n)(d.hb5,{}),[w,g]=(0,f.useState)(),j=(0,f.useCallback)(async()=>{if(w)try{let e=await m({variables:{params:{displayName:w.displayName,description:w.description,model:w.model,systemPrompt:w.systemPrompt,temperature:w.temperature,tools:w.tools}},refetchQueries:[d.wYJ]});e.data?.createCustomLLMPreset.id&&(t.push(c.B.CustomLlmPreset.Detail.link(s,e.data.createCustomLLMPreset.id)),b.oR.success("保存しました"))}catch(e){b.oR.error("保存に失敗しました")}},[w,m,t,s]);return r?r&&!r.availableFeatures.includes(d.tM0.TenantCustomLlmPreset)?(0,a.jsx)(y.M,{}):(0,a.jsx)(i.H,{children:(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:[(0,a.jsx)(u.o,{href:c.B.Chat.Index.link(r.tenant.slug)}),(0,a.jsxs)("div",{className:x().header,children:[(0,a.jsx)("h1",{className:x().title,children:"カスタムモデル作成"}),(0,a.jsx)(C.O,{url:"https://help.graffer-aistudio.jp/function/custommodel_howto"})]}),(0,a.jsx)(n.F,{onSaveClick:j,onParamsChange:g})]})}):(0,a.jsx)(h.Spinner,{loading:!0})},j=()=>(0,a.jsx)(r.F,{children:(0,a.jsx)(g,{})})},35388:e=>{e.exports={header:"custom-llm-preset-new_header__sDZ2N",title:"custom-llm-preset-new_title__UIozy"}}},e=>{e.O(0,[8971,7738,8061,4350,4361,5159,9525,5748,8379,776,8631,6206,1429,636,6593,8792],()=>e(e.s=10277)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.