fix: make runner card width equal in large screen (#883)

* fix: make runner card width equal in large screen

* chore: update build
wsxiaoys-patch-3
Meng Zhang 2023-11-24 10:52:56 +08:00 committed by GitHub
parent 843b33f088
commit 0857a10f31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 42 additions and 41 deletions

View File

@ -1,5 +1,6 @@
import { CardTitle, CardHeader, CardContent, Card } from '@/components/ui/card'
import { Worker, WorkerKind } from '@/lib/gql/generates/graphql'
import { cn } from '@/lib/utils'
type RunnerType = WorkerKind | 'INDEX'
@ -16,12 +17,14 @@ export default function RunnerCard({
cpuCount,
cpuInfo
}: RunnerCardProps) {
const textClass = cn("ml-2", "whitespace-nowrap", "overflow-hidden", "overflow-ellipsis")
const cpuMessage = `${cpuInfo} (${cpuCount} cores)`;
return (
<Card className="rounded-xl p-2 shadow-md">
<Card className="rounded-xl p-2 shadow-md lg:w-[260px]">
<CardHeader className="p-0 px-4 pb-2 pt-4">
<CardTitle className="text-md flex items-center font-normal">
<ModelIcon type={kind} />
<p className="ml-2">{name}</p>
<p title={name} className={textClass}>{name}</p>
</CardTitle>
</CardHeader>
<CardContent className="flex flex-col gap-2 p-0 px-4 pb-4 pt-2">
@ -44,7 +47,7 @@ export default function RunnerCard({
<path d="M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3" />
<path d="M12 12V8" />
</svg>
<p className="ml-2">{addr}</p>
<p title={addr} className={textClass}>{addr}</p>
</Info>
<Info>
<svg
@ -70,8 +73,8 @@ export default function RunnerCard({
<path d="M9 2v2" />
<path d="M9 20v2" />
</svg>
<p className="ml-2">
{cpuInfo} ({cpuCount} cores)
<p title={cpuMessage} className={textClass}>
{cpuMessage}
</p>
</Info>
{device == 'cuda' &&
@ -100,7 +103,7 @@ export default function RunnerCard({
<path d="M2 15h20" />
<path d="M2 7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.1a2 2 0 0 0 0 3.837V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5.1a2 2 0 0 0 0-3.837Z" />
</svg>
<p className="ml-2">{x}</p>
<p title={x} className={textClass}>{x}</p>
</Info>
))}
</CardContent>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
!function(){"use strict";var e,t,n,r,o,u,i,c,f,a={},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}},r=!0;try{a[e].call(n.exports,n,n.exports,s),r=!1}finally{r&&delete l[e]}return n.exports}s.m=a,e=[],s.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u<e.length;u++){for(var n=e[u][0],r=e[u][1],o=e[u][2],c=!0,f=0;f<n.length;f++)i>=o&&Object.keys(s.O).every(function(e){return s.O[e](n[f])})?n.splice(f--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var a=r()}}return a},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var o=Object.create(null);s.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var i=2&r&&e;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},s.d(o,u),o},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce(function(t,n){return s.f[n](e,t),t},[]))},s.u=function(e){return"static/chunks/"+e+".2b6536d53b303d15.js"},s.miniCssF=function(e){return"static/css/6473d52ca6f0f35c.css"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="_N_E:",s.l=function(e,t,n,u){if(r[e]){r[e].push(t);return}if(void 0!==n)for(var i,c,f=document.getElementsByTagName("script"),a=0;a<f.length;a++){var l=f[a];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+n){i=l;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",o+n),i.src=s.tu(e)),r[e]=[t];var d=function(t,n){i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),c&&document.head.appendChild(i)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.tt=function(){return void 0===u&&(u={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},s.tu=function(e){return s.tt().createScriptURL(e)},s.p="/_next/",i={272:0},s.f.j=function(e,t){var n=s.o(i,e)?i[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(272!=e){var r=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=r);var o=s.p+s.u(e),u=Error();s.l(o,function(t){if(s.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}},"chunk-"+e,e)}else i[e]=0}},s.O.j=function(e){return 0===i[e]},c=function(e,t){var n,r,o=t[0],u=t[1],c=t[2],f=0;if(o.some(function(e){return 0!==i[e]})){for(n in u)s.o(u,n)&&(s.m[n]=u[n]);if(c)var a=c(s)}for(e&&e(t);f<o.length;f++)r=o[f],s.o(i,r)&&i[r]&&i[r][0](),i[r]=0;return s.O(a)},(f=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(c.bind(null,0)),f.push=c.bind(null,f.push.bind(f)),s.nc=void 0}();

View File

@ -1 +0,0 @@
!function(){"use strict";var t,e,n,r,o,u,i,c,f,a={},l={};function s(t){var e=l[t];if(void 0!==e)return e.exports;var n=l[t]={exports:{}},r=!0;try{a[t].call(n.exports,n,n.exports,s),r=!1}finally{r&&delete l[t]}return n.exports}s.m=a,t=[],s.O=function(e,n,r,o){if(n){o=o||0;for(var u=t.length;u>0&&t[u-1][2]>o;u--)t[u]=t[u-1];t[u]=[n,r,o];return}for(var i=1/0,u=0;u<t.length;u++){for(var n=t[u][0],r=t[u][1],o=t[u][2],c=!0,f=0;f<n.length;f++)i>=o&&Object.keys(s.O).every(function(t){return s.O[t](n[f])})?n.splice(f--,1):(c=!1,o<i&&(i=o));if(c){t.splice(u--,1);var a=r()}}return a},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e},n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},s.t=function(t,r){if(1&r&&(t=this(t)),8&r||"object"==typeof t&&t&&(4&r&&t.__esModule||16&r&&"function"==typeof t.then))return t;var o=Object.create(null);s.r(o);var u={};e=e||[null,n({}),n([]),n(n)];for(var i=2&r&&t;"object"==typeof i&&!~e.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(e){u[e]=function(){return t[e]}});return u.default=function(){return t},s.d(o,u),o},s.d=function(t,e){for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.f={},s.e=function(t){return Promise.all(Object.keys(s.f).reduce(function(e,n){return s.f[n](t,e),e},[]))},s.u=function(t){return"static/chunks/"+t+".2b6536d53b303d15.js"},s.miniCssF=function(t){return"static/css/256fb9c5ac477f9f.css"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r={},o="_N_E:",s.l=function(t,e,n,u){if(r[t]){r[t].push(e);return}if(void 0!==n)for(var i,c,f=document.getElementsByTagName("script"),a=0;a<f.length;a++){var l=f[a];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==o+n){i=l;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",o+n),i.src=s.tu(t)),r[t]=[e];var d=function(e,n){i.onerror=i.onload=null,clearTimeout(p);var o=r[t];if(delete r[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(t){return t(n)}),e)return e(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),c&&document.head.appendChild(i)},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.tt=function(){return void 0===u&&(u={createScriptURL:function(t){return t}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},s.tu=function(t){return s.tt().createScriptURL(t)},s.p="/_next/",i={272:0},s.f.j=function(t,e){var n=s.o(i,t)?i[t]:void 0;if(0!==n){if(n)e.push(n[2]);else if(272!=t){var r=new Promise(function(e,r){n=i[t]=[e,r]});e.push(n[2]=r);var o=s.p+s.u(t),u=Error();s.l(o,function(e){if(s.o(i,t)&&(0!==(n=i[t])&&(i[t]=void 0),n)){var r=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;u.message="Loading chunk "+t+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}},"chunk-"+t,t)}else i[t]=0}},s.O.j=function(t){return 0===i[t]},c=function(t,e){var n,r,o=e[0],u=e[1],c=e[2],f=0;if(o.some(function(t){return 0!==i[t]})){for(n in u)s.o(u,n)&&(s.m[n]=u[n]);if(c)var a=c(s)}for(t&&t(e);f<o.length;f++)r=o[f],s.o(i,r)&&i[r]&&i[r][0](),i[r]=0;return s.O(a)},(f=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(c.bind(null,0)),f.push=c.bind(null,f.push.bind(f)),s.nc=void 0}();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,15 +1,15 @@
1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
3:HL["/_next/static/css/256fb9c5ac477f9f.css","style"]
0:["tdxyfWblSCPrAoXxxW0k3",[[["",{"children":["(dashboard)",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/256fb9c5ac477f9f.css","precedence":"next"}]],"$L5"]]]]
6:I{"id":5925,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-3077ed8044995fd9.js"],"name":"Toaster","async":false}
7:I{"id":78495,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-3077ed8044995fd9.js"],"name":"Providers","async":false}
8:I{"id":11486,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-3077ed8044995fd9.js"],"name":"Header","async":false}
9:I{"id":81443,"chunks":["272:static/chunks/webpack-a40c2ed9eea7d700.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
a:I{"id":18639,"chunks":["272:static/chunks/webpack-a40c2ed9eea7d700.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
3:HL["/_next/static/css/6473d52ca6f0f35c.css","style"]
0:["KwTUFhDElVXkDE3jiCtD0",[[["",{"children":["(dashboard)",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6473d52ca6f0f35c.css","precedence":"next"}]],"$L5"]]]]
6:I{"id":5925,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-ca2c7a9f923b6e61.js"],"name":"Toaster","async":false}
7:I{"id":78495,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-ca2c7a9f923b6e61.js"],"name":"Providers","async":false}
8:I{"id":11486,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-ca2c7a9f923b6e61.js"],"name":"Header","async":false}
9:I{"id":81443,"chunks":["272:static/chunks/webpack-27adc8d5d81c534f.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
a:I{"id":18639,"chunks":["272:static/chunks/webpack-27adc8d5d81c534f.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
b:I{"id":30831,"chunks":["882:static/chunks/882-5574357230a12cf9.js","396:static/chunks/396-89319c375c83667c.js","642:static/chunks/app/(dashboard)/layout-3f83ef2900ef6e5d.js"],"name":"","async":false}
d:I{"id":65146,"chunks":["272:static/chunks/webpack-a40c2ed9eea7d700.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
e:I{"id":60901,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","286:static/chunks/286-453e01dda7220f79.js","967:static/chunks/967-f02728ac0b1b01a8.js","130:static/chunks/app/(dashboard)/page-76d70f338fad3435.js"],"name":"","async":false}
d:I{"id":65146,"chunks":["272:static/chunks/webpack-27adc8d5d81c534f.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
e:I{"id":60901,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","286:static/chunks/286-453e01dda7220f79.js","967:static/chunks/967-f02728ac0b1b01a8.js","130:static/chunks/app/(dashboard)/page-2dac77bf7366362b.js"],"name":"","async":false}
5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Dashboard"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]]
4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":[["$","$L8",null,{}],["$","main",null,{"className":"bg-muted/50 flex flex-1 flex-col","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","$Lb",null,{"className":"flex-1","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$Lc",["$","$Ld",null,{"propsForComponent":{"params":{}},"Component":"$e"}],null],"segment":"__PAGE__"},"styles":[]}]}],null],"segment":"(dashboard)"},"styles":[]}]}]]}],null]}]]}]]}],null]
c:null

File diff suppressed because one or more lines are too long

View File

@ -1,12 +1,12 @@
1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
3:HL["/_next/static/css/256fb9c5ac477f9f.css","style"]
0:["tdxyfWblSCPrAoXxxW0k3",[[["",{"children":["playground",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/256fb9c5ac477f9f.css","precedence":"next"}]],"$L5"]]]]
6:I{"id":5925,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-3077ed8044995fd9.js"],"name":"Toaster","async":false}
7:I{"id":78495,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-3077ed8044995fd9.js"],"name":"Providers","async":false}
8:I{"id":11486,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-3077ed8044995fd9.js"],"name":"Header","async":false}
9:I{"id":81443,"chunks":["272:static/chunks/webpack-a40c2ed9eea7d700.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
a:I{"id":18639,"chunks":["272:static/chunks/webpack-a40c2ed9eea7d700.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
3:HL["/_next/static/css/6473d52ca6f0f35c.css","style"]
0:["KwTUFhDElVXkDE3jiCtD0",[[["",{"children":["playground",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6473d52ca6f0f35c.css","precedence":"next"}]],"$L5"]]]]
6:I{"id":5925,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-ca2c7a9f923b6e61.js"],"name":"Toaster","async":false}
7:I{"id":78495,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-ca2c7a9f923b6e61.js"],"name":"Providers","async":false}
8:I{"id":11486,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-ca2c7a9f923b6e61.js"],"name":"Header","async":false}
9:I{"id":81443,"chunks":["272:static/chunks/webpack-27adc8d5d81c534f.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
a:I{"id":18639,"chunks":["272:static/chunks/webpack-27adc8d5d81c534f.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
c:I{"id":34926,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","892:static/chunks/892-eb176514ab2c02ba.js","286:static/chunks/286-453e01dda7220f79.js","899:static/chunks/899-0d9fbfefc7a97fe2.js","967:static/chunks/967-f02728ac0b1b01a8.js","383:static/chunks/app/playground/page-8ff3131e9c77580f.js"],"name":"","async":false}
5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Playground"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]]
4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":[["$","$L8",null,{}],["$","main",null,{"className":"bg-muted/50 flex flex-1 flex-col","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","playground","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lb",["$","$Lc",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"playground"},"styles":[]}]}]]}],null]}]]}]]}],null]

File diff suppressed because one or more lines are too long

View File

@ -1,12 +1,12 @@
1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
3:HL["/_next/static/css/256fb9c5ac477f9f.css","style"]
0:["tdxyfWblSCPrAoXxxW0k3",[[["",{"children":["(dashboard)",{"children":["swagger",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/256fb9c5ac477f9f.css","precedence":"next"}]],"$L5"]]]]
6:I{"id":5925,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-3077ed8044995fd9.js"],"name":"Toaster","async":false}
7:I{"id":78495,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-3077ed8044995fd9.js"],"name":"Providers","async":false}
8:I{"id":11486,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-3077ed8044995fd9.js"],"name":"Header","async":false}
9:I{"id":81443,"chunks":["272:static/chunks/webpack-a40c2ed9eea7d700.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
a:I{"id":18639,"chunks":["272:static/chunks/webpack-a40c2ed9eea7d700.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
3:HL["/_next/static/css/6473d52ca6f0f35c.css","style"]
0:["KwTUFhDElVXkDE3jiCtD0",[[["",{"children":["(dashboard)",{"children":["swagger",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6473d52ca6f0f35c.css","precedence":"next"}]],"$L5"]]]]
6:I{"id":5925,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-ca2c7a9f923b6e61.js"],"name":"Toaster","async":false}
7:I{"id":78495,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-ca2c7a9f923b6e61.js"],"name":"Providers","async":false}
8:I{"id":11486,"chunks":["882:static/chunks/882-5574357230a12cf9.js","845:static/chunks/845-c760f8c52c4fcf50.js","431:static/chunks/431-7ea9c8ff0df11123.js","892:static/chunks/892-eb176514ab2c02ba.js","396:static/chunks/396-89319c375c83667c.js","967:static/chunks/967-f02728ac0b1b01a8.js","185:static/chunks/app/layout-ca2c7a9f923b6e61.js"],"name":"Header","async":false}
9:I{"id":81443,"chunks":["272:static/chunks/webpack-27adc8d5d81c534f.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
a:I{"id":18639,"chunks":["272:static/chunks/webpack-27adc8d5d81c534f.js","971:static/chunks/fd9d1056-6779f76bb208370f.js","864:static/chunks/864-39b4a82d88034324.js"],"name":"","async":false}
b:I{"id":30831,"chunks":["882:static/chunks/882-5574357230a12cf9.js","396:static/chunks/396-89319c375c83667c.js","642:static/chunks/app/(dashboard)/layout-3f83ef2900ef6e5d.js"],"name":"","async":false}
5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"API"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]]
4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":[["$","$L8",null,{}],["$","main",null,{"className":"bg-muted/50 flex flex-1 flex-col","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","$Lb",null,{"className":"flex-1","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","swagger","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lc",["$","iframe",null,{"className":"grow","src":"/swagger-ui"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"swagger"},"styles":[]}]}],null],"segment":"(dashboard)"},"styles":[]}]}]]}],null]}]]}]]}],null]