mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-29 06:33:28 +00:00
chore: update Next.js build artifacts (2026-10-28 01:11 UTC, node v24.19.0) (#48692)
This commit is contained in:
parent
8ced2cf433
commit
8d30009b78
654 changed files with 15817 additions and 9662 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,37 +1,71 @@
|
|||
1:"$Sreact.fragment"
|
||||
2:I[347257,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"ClientPageRoot"]
|
||||
3:I[871135,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js","/litellm-asset-prefix/_next/static/chunks/15b3jtv_9eob8.js","/litellm-asset-prefix/_next/static/chunks/3vydbsopsf2li.js","/litellm-asset-prefix/_next/static/chunks/09tfr__sbh796.js","/litellm-asset-prefix/_next/static/chunks/320ts7l5dj9yy.js","/litellm-asset-prefix/_next/static/chunks/0677cowehlx_9.js","/litellm-asset-prefix/_next/static/chunks/42kctw40_yfpi.js","/litellm-asset-prefix/_next/static/chunks/2rrul4dd7hn0r.js","/litellm-asset-prefix/_next/static/chunks/3al7i__8s7hew.js","/litellm-asset-prefix/_next/static/chunks/1v51p_o3l31na.js","/litellm-asset-prefix/_next/static/chunks/14hu41xvpzmuj.js","/litellm-asset-prefix/_next/static/chunks/1p7rizocjlzmm.js","/litellm-asset-prefix/_next/static/chunks/0aoel7yrv88fp.js","/litellm-asset-prefix/_next/static/chunks/1rsw11lcuvm5o.js","/litellm-asset-prefix/_next/static/chunks/3m3rxvigp6yiy.js","/litellm-asset-prefix/_next/static/chunks/3m4e65gski39t.js","/litellm-asset-prefix/_next/static/chunks/246p743n1gxn2.js","/litellm-asset-prefix/_next/static/chunks/01cjt3b43zsyy.js","/litellm-asset-prefix/_next/static/chunks/3bsf2y0yccyub.js","/litellm-asset-prefix/_next/static/chunks/3a6q-74i0xaf0.js","/litellm-asset-prefix/_next/static/chunks/3cdfe4ygw1_r-.js","/litellm-asset-prefix/_next/static/chunks/0wk0l0tbb11zh.js","/litellm-asset-prefix/_next/static/chunks/3oo3mxuqk37z1.js","/litellm-asset-prefix/_next/static/chunks/2n4v-63z3zm3a.js"],"default"]
|
||||
6:I[897367,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"OutletBoundary"]
|
||||
7:"$Sreact.suspense"
|
||||
b:I[897367,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"ViewportBoundary"]
|
||||
c:I[897367,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"MetadataBoundary"]
|
||||
d:I[27201,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"IconMark"]
|
||||
f:I[92825,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"ClientSegmentRoot"]
|
||||
10:I[216370,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js","/litellm-asset-prefix/_next/static/chunks/15b3jtv_9eob8.js","/litellm-asset-prefix/_next/static/chunks/3vydbsopsf2li.js","/litellm-asset-prefix/_next/static/chunks/09tfr__sbh796.js","/litellm-asset-prefix/_next/static/chunks/320ts7l5dj9yy.js","/litellm-asset-prefix/_next/static/chunks/0677cowehlx_9.js","/litellm-asset-prefix/_next/static/chunks/42kctw40_yfpi.js","/litellm-asset-prefix/_next/static/chunks/2rrul4dd7hn0r.js","/litellm-asset-prefix/_next/static/chunks/3al7i__8s7hew.js","/litellm-asset-prefix/_next/static/chunks/1v51p_o3l31na.js","/litellm-asset-prefix/_next/static/chunks/14hu41xvpzmuj.js","/litellm-asset-prefix/_next/static/chunks/1p7rizocjlzmm.js","/litellm-asset-prefix/_next/static/chunks/0aoel7yrv88fp.js","/litellm-asset-prefix/_next/static/chunks/1rsw11lcuvm5o.js","/litellm-asset-prefix/_next/static/chunks/3m3rxvigp6yiy.js","/litellm-asset-prefix/_next/static/chunks/3m4e65gski39t.js","/litellm-asset-prefix/_next/static/chunks/246p743n1gxn2.js","/litellm-asset-prefix/_next/static/chunks/01cjt3b43zsyy.js","/litellm-asset-prefix/_next/static/chunks/3bsf2y0yccyub.js"],"default"]
|
||||
11:I[339756,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"default"]
|
||||
12:I[837457,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"default"]
|
||||
a:X
|
||||
0:{"buildId":"u_MWVLx_WA9i-AM2JdCsp","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/litellm-asset-prefix/_next/static/chunks/3a6q-74i0xaf0.js","async":true}],["$","script","script-1",{"src":"/litellm-asset-prefix/_next/static/chunks/3cdfe4ygw1_r-.js","async":true}],["$","script","script-2",{"src":"/litellm-asset-prefix/_next/static/chunks/0wk0l0tbb11zh.js","async":true}],["$","script","script-3",{"src":"/litellm-asset-prefix/_next/static/chunks/3oo3mxuqk37z1.js","async":true}],["$","script","script-4",{"src":"/litellm-asset-prefix/_next/static/chunks/2n4v-63z3zm3a.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"LiteLLM Dashboard"}],["$","meta","1",{"name":"description","content":"LiteLLM Proxy Admin UI"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.34m4ev7_7ennf.ico","sizes":"48x48","type":"image/x-icon"}],["$","link","3",{"rel":"icon","href":"/get_favicon"}],["$","$Ld","4",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/litellm-asset-prefix/_next/static/chunks/15b3jtv_9eob8.js","async":true}],["$","script","script-1",{"src":"/litellm-asset-prefix/_next/static/chunks/3vydbsopsf2li.js","async":true}],["$","script","script-2",{"src":"/litellm-asset-prefix/_next/static/chunks/09tfr__sbh796.js","async":true}],["$","script","script-3",{"src":"/litellm-asset-prefix/_next/static/chunks/320ts7l5dj9yy.js","async":true}],["$","script","script-4",{"src":"/litellm-asset-prefix/_next/static/chunks/0677cowehlx_9.js","async":true}],["$","script","script-5",{"src":"/litellm-asset-prefix/_next/static/chunks/42kctw40_yfpi.js","async":true}],["$","script","script-6",{"src":"/litellm-asset-prefix/_next/static/chunks/2rrul4dd7hn0r.js","async":true}],["$","script","script-7",{"src":"/litellm-asset-prefix/_next/static/chunks/3al7i__8s7hew.js","async":true}],["$","script","script-8",{"src":"/litellm-asset-prefix/_next/static/chunks/1v51p_o3l31na.js","async":true}],["$","script","script-9",{"src":"/litellm-asset-prefix/_next/static/chunks/14hu41xvpzmuj.js","async":true}],["$","script","script-10",{"src":"/litellm-asset-prefix/_next/static/chunks/1p7rizocjlzmm.js","async":true}],["$","script","script-11",{"src":"/litellm-asset-prefix/_next/static/chunks/0aoel7yrv88fp.js","async":true}],["$","script","script-12",{"src":"/litellm-asset-prefix/_next/static/chunks/1rsw11lcuvm5o.js","async":true}],["$","script","script-13",{"src":"/litellm-asset-prefix/_next/static/chunks/3m3rxvigp6yiy.js","async":true}],["$","script","script-14",{"src":"/litellm-asset-prefix/_next/static/chunks/3m4e65gski39t.js","async":true}],["$","script","script-15",{"src":"/litellm-asset-prefix/_next/static/chunks/246p743n1gxn2.js","async":true}],["$","script","script-16",{"src":"/litellm-asset-prefix/_next/static/chunks/01cjt3b43zsyy.js","async":true}],["$","script","script-17",{"src":"/litellm-asset-prefix/_next/static/chunks/3bsf2y0yccyub.js","async":true}]],["$","$Lf",null,{"Component":"$10","slots":{"children":["$","$L11",null,{"parallelRouterKey":"children","template":["$","$L12",null,{}],"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)}}"}}],"$L13","$L14"]}]}]],[]]}]},"serverProvidedParams":{"params":"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params","promises":["$@15"]}}]]}],"isPartial":"$@16","staleTime":"$a","varyParams":null},{"rsc":"$L17","isPartial":"$@18","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@19","rootVaryParams":null,"needsRuntimeRequest":"$@1a"}
|
||||
1b:I[363178,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"ThemeProvider"]
|
||||
1c:I[12985,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"NuqsAdapter"]
|
||||
1d:I[867271,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"default"]
|
||||
1e:I[656682,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"default"]
|
||||
1f:I[557951,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"AuthProvider"]
|
||||
20:I[713354,["/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js"],"Toaster"]
|
||||
:HL["/litellm-asset-prefix/_next/static/chunks/0ckv5j_fni3xm.css","style"]
|
||||
:HL["/litellm-asset-prefix/_next/static/chunks/06yuul4yvgbd0.css","style"]
|
||||
4:{}
|
||||
5:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params"
|
||||
8:null
|
||||
13:["$","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}]
|
||||
14:["$","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."}]}]
|
||||
15:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params"
|
||||
17:["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/litellm-asset-prefix/_next/static/chunks/0ckv5j_fni3xm.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/litellm-asset-prefix/_next/static/chunks/06yuul4yvgbd0.css","precedence":"next"}],["$","script","script-0",{"src":"/litellm-asset-prefix/_next/static/chunks/33t46atd3n2zd.js","async":true}],["$","script","script-1",{"src":"/litellm-asset-prefix/_next/static/chunks/06el5-9ee247i.js","async":true}],["$","script","script-2",{"src":"/litellm-asset-prefix/_next/static/chunks/0ucu5tumma10r.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"inter_5972bc34-module__OU16Qa__className","children":["$","$L1b",null,{"attribute":"class","defaultTheme":"light","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L1c",null,{"children":["$","$L1d",null,{"children":[["$","$L1e",null,{"children":["$","$L1f",null,{"children":["$","$L11",null,{"parallelRouterKey":"children","template":["$","$L12",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:data:2:rsc:props:children:1:props:slots:children:props:notFound:0:1:props:style","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":"$13:props:style","children":404}],["$","div",null,{"style":"$14:props:style","children":["$","h2",null,{"style":"$14:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]]}]}]}],["$","$L20",null,{}]]}]}]}]}]}]]}]
|
||||
a:300
|
||||
1a:true
|
||||
a:C
|
||||
19:0
|
||||
e:"$undefined"
|
||||
18:"$undefined"
|
||||
9:"$undefined"
|
||||
16:"$undefined"
|
||||
2:"/litellm-asset-prefix/_next/static/chunks/0a-rekt06v0sv.js"
|
||||
3:"/litellm-asset-prefix/_next/static/chunks/2_9r2jeem0dh8.js"
|
||||
4:"/litellm-asset-prefix/_next/static/chunks/0tx19jeq-wskb.js"
|
||||
5:I[363178,["$2","$3","$4"],"ThemeProvider"]
|
||||
6:I[12985,["$2","$3","$4"],"NuqsAdapter"]
|
||||
7:I[867271,["$2","$3","$4"],"default"]
|
||||
8:"TerminologyProvider"
|
||||
9:I[283634,["$2","$3","$4"],"$8"]
|
||||
a:I[656682,["$2","$3","$4"],"default"]
|
||||
b:I[557951,["$2","$3","$4"],"AuthProvider"]
|
||||
c:I[339756,["$2","$3","$4"],"default"]
|
||||
d:I[837457,["$2","$3","$4"],"default"]
|
||||
e:I[713354,["$2","$3","$4"],"Toaster"]
|
||||
18:"ViewportBoundary"
|
||||
19:I[897367,["$2","$3","$4"],"$18"]
|
||||
1a:"MetadataBoundary"
|
||||
1b:I[897367,["$2","$3","$4"],"$1a"]
|
||||
1c:"$Sreact.suspense"
|
||||
1d:I[27201,["$2","$3","$4"],"IconMark"]
|
||||
:HL["/litellm-asset-prefix/_next/static/chunks/1bnh8r0-prf7e.css","style"]
|
||||
:HL["/litellm-asset-prefix/_next/static/chunks/0598zsj78ni2h.css","style"]
|
||||
10:X
|
||||
15:[["children",{"s":"__PAGE__","h":160,"d":{"r":"$L16","p":"$@17","v":null,"s":"$10"}}]]
|
||||
11:[["children",{"s":"(dashboard)","h":96,"d":{"r":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/litellm-asset-prefix/_next/static/chunks/3tb8tug0et-f3.js","async":true}],["$","script","script-1",{"src":"/litellm-asset-prefix/_next/static/chunks/1zju-fgvhby-r.js","async":true}],["$","script","script-2",{"src":"/litellm-asset-prefix/_next/static/chunks/32d1uqn-sef7-.js","async":true}],["$","script","script-3",{"src":"/litellm-asset-prefix/_next/static/chunks/138wymdv6q3wy.js","async":true}],["$","script","script-4",{"src":"/litellm-asset-prefix/_next/static/chunks/44oxggpk8fep6.js","async":true}],["$","script","script-5",{"src":"/litellm-asset-prefix/_next/static/chunks/3s77-_umb2pas.js","async":true}],["$","script","script-6",{"src":"/litellm-asset-prefix/_next/static/chunks/39_9engqoezqp.js","async":true}],["$","script","script-7",{"src":"/litellm-asset-prefix/_next/static/chunks/1-f3yvj3y6lg8.js","async":true}],["$","script","script-8",{"src":"/litellm-asset-prefix/_next/static/chunks/45b8usrooa1la.js","async":true}],["$","script","script-9",{"src":"/litellm-asset-prefix/_next/static/chunks/2kd01k7_ccb0k.js","async":true}],["$","script","script-10",{"src":"/litellm-asset-prefix/_next/static/chunks/2j7hjtph8n74b.js","async":true}],["$","script","script-11",{"src":"/litellm-asset-prefix/_next/static/chunks/1rq-bi4a8voir.js","async":true}],["$","script","script-12",{"src":"/litellm-asset-prefix/_next/static/chunks/0g3hfgh2z8the.js","async":true}],["$","script","script-13",{"src":"/litellm-asset-prefix/_next/static/chunks/14v3irtjifjt2.js","async":true}],["$","script","script-14",{"src":"/litellm-asset-prefix/_next/static/chunks/2l8ss800ubmmh.js","async":true}],["$","script","script-15",{"src":"/litellm-asset-prefix/_next/static/chunks/13d402rvlr6kh.js","async":true}],["$","script","script-16",{"src":"/litellm-asset-prefix/_next/static/chunks/3t9yzf1l2_xau.js","async":true}],["$","script","script-17",{"src":"/litellm-asset-prefix/_next/static/chunks/2hk8n3azev--d.js","async":true}],["$","script","script-18",{"src":"/litellm-asset-prefix/_next/static/chunks/3cziaul2j05he.js","async":true}],"$L12"],"$L13"]}],"p":"$@14","v":null,"s":"$10"},"c":"$Q15"}]]
|
||||
0:{"t":{"t":{"s":"","h":80,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/litellm-asset-prefix/_next/static/chunks/1bnh8r0-prf7e.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/litellm-asset-prefix/_next/static/chunks/0598zsj78ni2h.css","precedence":"next"}],["$","script","script-0",{"src":"/litellm-asset-prefix/_next/static/chunks/0a-rekt06v0sv.js","async":true}],["$","script","script-1",{"src":"/litellm-asset-prefix/_next/static/chunks/2_9r2jeem0dh8.js","async":true}],["$","script","script-2",{"src":"/litellm-asset-prefix/_next/static/chunks/0tx19jeq-wskb.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"OU16Qa_className","children":["$","$L5",null,{"attribute":"class","defaultTheme":"light","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L6",null,{"children":["$","$L7",null,{"children":[["$","$L9",null,{"children":["$","$La",null,{"children":["$","$Lb",null,{"children":["$","$Lc",null,{"parallelRouterKey":"children","template":["$","$Ld",null,{}],"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."}]}]]}]}]],[]]}]}]}]}],["$","$Le",null,{}]]}]}]}]}]}]]}],"p":"$@f","v":null,"s":"$10"},"c":"$Q11"},"h":{"r":["$","$1","h",{"children":[null,["$","$L19",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","$L1b",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$1c",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"LiteLLM Dashboard"}],["$","meta","1",{"name":"description","content":"LiteLLM Proxy Admin UI"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.34m4ev7_7ennf.ico","sizes":"48x48","type":"image/x-icon"}],["$","link","3",{"rel":"icon","href":"/get_favicon"}],["$","$L1d","4",{}]]}]}],null]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"p":"$@1e","v":null,"s":"$10"}},"a":"$@1f","u":"$@20","b":"gyn32IHLXvPl9GksQaEMb"}
|
||||
21:"ClientSegmentRoot"
|
||||
22:I[92825,["$2","$3","$4"],"$21"]
|
||||
23:"/litellm-asset-prefix/_next/static/chunks/3tb8tug0et-f3.js"
|
||||
24:"/litellm-asset-prefix/_next/static/chunks/1zju-fgvhby-r.js"
|
||||
25:"/litellm-asset-prefix/_next/static/chunks/32d1uqn-sef7-.js"
|
||||
26:"/litellm-asset-prefix/_next/static/chunks/138wymdv6q3wy.js"
|
||||
27:"/litellm-asset-prefix/_next/static/chunks/44oxggpk8fep6.js"
|
||||
28:"/litellm-asset-prefix/_next/static/chunks/3s77-_umb2pas.js"
|
||||
29:"/litellm-asset-prefix/_next/static/chunks/39_9engqoezqp.js"
|
||||
2a:"/litellm-asset-prefix/_next/static/chunks/1-f3yvj3y6lg8.js"
|
||||
2b:"/litellm-asset-prefix/_next/static/chunks/45b8usrooa1la.js"
|
||||
2c:"/litellm-asset-prefix/_next/static/chunks/2kd01k7_ccb0k.js"
|
||||
2d:"/litellm-asset-prefix/_next/static/chunks/2j7hjtph8n74b.js"
|
||||
2e:"/litellm-asset-prefix/_next/static/chunks/1rq-bi4a8voir.js"
|
||||
2f:"/litellm-asset-prefix/_next/static/chunks/0g3hfgh2z8the.js"
|
||||
30:"/litellm-asset-prefix/_next/static/chunks/14v3irtjifjt2.js"
|
||||
31:"/litellm-asset-prefix/_next/static/chunks/2l8ss800ubmmh.js"
|
||||
32:"/litellm-asset-prefix/_next/static/chunks/13d402rvlr6kh.js"
|
||||
33:"/litellm-asset-prefix/_next/static/chunks/3t9yzf1l2_xau.js"
|
||||
34:"/litellm-asset-prefix/_next/static/chunks/2hk8n3azev--d.js"
|
||||
35:"/litellm-asset-prefix/_next/static/chunks/3cziaul2j05he.js"
|
||||
36:"/litellm-asset-prefix/_next/static/chunks/2aatum0yo4cv8.js"
|
||||
37:I[216370,["$2","$3","$4","$23","$24","$25","$26","$27","$28","$29","$2a","$2b","$2c","$2d","$2e","$2f","$30","$31","$32","$33","$34","$35","$36"],"default"]
|
||||
39:I[347257,["$2","$3","$4"],"ClientPageRoot"]
|
||||
3a:"/litellm-asset-prefix/_next/static/chunks/1avj5q5vr8i-4.js"
|
||||
3b:"/litellm-asset-prefix/_next/static/chunks/2aqdbosnh_sy6.js"
|
||||
3c:"/litellm-asset-prefix/_next/static/chunks/441rbmhkm7c36.js"
|
||||
3d:"/litellm-asset-prefix/_next/static/chunks/0jodjixl6-lwk.js"
|
||||
3e:I[871135,["$2","$3","$4","$23","$24","$25","$26","$27","$28","$29","$2a","$2b","$2c","$2d","$2e","$2f","$30","$31","$32","$33","$34","$35","$36","$3a","$3b","$3c","$3d"],"default"]
|
||||
41:I[897367,["$2","$3","$4"],"OutletBoundary"]
|
||||
12:["$","script","script-19",{"src":"/litellm-asset-prefix/_next/static/chunks/2aatum0yo4cv8.js","async":true}]
|
||||
13:["$","$L22",null,{"Component":"$37","slots":{"children":["$","$Lc",null,{"parallelRouterKey":"children","template":["$","$Ld",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:children:props:children:0:props:children:props:children:props:children:props:notFound:0:1:props:style","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":"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:children:props:children:0:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:children:props:children:0:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:children:props:children:0:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]]}]},"serverProvidedParams":{"params":{},"promises":["$@38"]}}]
|
||||
16:["$","$1","c",{"children":[["$","$L39",null,{"Component":"$3e","serverProvidedParams":{"searchParams":{},"params":"$13:props:serverProvidedParams:params","promises":["$@3f","$@40"]}}],[["$","script","script-0",{"src":"/litellm-asset-prefix/_next/static/chunks/1avj5q5vr8i-4.js","async":true}],["$","script","script-1",{"src":"/litellm-asset-prefix/_next/static/chunks/2aqdbosnh_sy6.js","async":true}],["$","script","script-2",{"src":"/litellm-asset-prefix/_next/static/chunks/441rbmhkm7c36.js","async":true}],["$","script","script-3",{"src":"/litellm-asset-prefix/_next/static/chunks/0jodjixl6-lwk.js","async":true}]],["$","$L41",null,{"children":["$","$1c",null,{"name":"Next.MetadataOutlet","children":"$@42"}]}]]}]
|
||||
10:300
|
||||
38:"$13:props:serverProvidedParams:params"
|
||||
3f:{}
|
||||
40:"$13:props:serverProvidedParams:params"
|
||||
42:null
|
||||
20:true
|
||||
10:C
|
||||
1f:0
|
||||
f:"$undefined"
|
||||
1e:"$undefined"
|
||||
17:"$undefined"
|
||||
14:"$undefined"
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,6 @@
|
|||
:HL["/litellm-asset-prefix/_next/static/chunks/0ckv5j_fni3xm.css","style"]
|
||||
:HL["/litellm-asset-prefix/_next/static/chunks/06yuul4yvgbd0.css","style"]
|
||||
:HL["/litellm-asset-prefix/_next/static/chunks/1bnh8r0-prf7e.css","style"]
|
||||
:HL["/litellm-asset-prefix/_next/static/chunks/0598zsj78ni2h.css","style"]
|
||||
:HL["/litellm-asset-prefix/_next/static/media/83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
||||
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"(dashboard)","param":null,"prefetchHints":4192,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}}}},"staleTime":300,"buildId":"u_MWVLx_WA9i-AM2JdCsp"}
|
||||
2:[["children",{"s":"__PAGE__","h":160}]]
|
||||
1:[["children",{"s":"(dashboard)","h":96,"c":"$Q2"}]]
|
||||
0:{"b":"gyn32IHLXvPl9GksQaEMb","t":{"t":{"s":"","h":80,"c":"$Q1"}}}
|
||||
|
|
|
|||
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
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
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
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
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
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,516430,t=>{"use strict";var a=t.i(180127);t.s(["ArrowLeftIcon",()=>a.default])},339402,t=>{"use strict";let a=(0,t.i(475254).default)("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]);t.s(["default",0,a])},837007,t=>{"use strict";var a=t.i(603908);t.s(["PlusIcon",()=>a.default])},440987,t=>{"use strict";var a=t.i(903446);t.s(["SettingsIcon",()=>a.default])},569074,t=>{"use strict";let a=(0,t.i(475254).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);t.s(["Upload",0,a],569074)},868499,t=>{"use strict";var a=t.i(843476);t.s([],558762),t.i(558762);var e=t.i(366250),o=t.i(402820),r=t.i(156736),l=t.i(209793),i=t.i(784324),s=t.i(264951),n=t.i(77173);let d=t.i(313488).DialogTrigger;var u=t.i(974217),g=t.i(325326),c=t.i(301807);let p={modal:!0,disablePointerDismissal:!0,role:"alertdialog"};class f extends g.DialogHandle{constructor(t){super(t??new c.DialogStore(p)),t&&this.store.update(p)}}t.s(["Backdrop",()=>o.DialogBackdrop,"Close",()=>r.DialogClose,"Description",()=>l.DialogDescription,"Handle",0,f,"Popup",()=>i.DialogPopup,"Portal",()=>s.DialogPortal,"Root",0,function(t){return(0,e.useRenderDialogRoot)(t,"alert-dialog")},"Title",()=>n.DialogTitle,"Trigger",0,d,"Viewport",()=>u.DialogViewport,"createHandle",0,function(){return new f}],734604);var m=t.i(734604),m=m,x=t.i(196631),D=t.i(519455);function j({...t}){return(0,a.jsx)(m.Portal,{"data-slot":"alert-dialog-portal",...t})}function v({className:t,...e}){return(0,a.jsx)(m.Backdrop,{"data-slot":"alert-dialog-overlay",className:(0,x.cn)("fixed inset-0 isolate z-popup bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",t),...e})}t.s(["AlertDialog",0,function({...t}){return(0,a.jsx)(m.Root,{"data-slot":"alert-dialog",...t})},"AlertDialogAction",0,function({className:t,variant:e="default",size:o="default",...r}){return(0,a.jsx)(m.Close,{"data-slot":"alert-dialog-action",className:(0,x.cn)(t),render:(0,a.jsx)(D.Button,{variant:e,size:o}),...r})},"AlertDialogCancel",0,function({className:t,variant:e="outline",size:o="default",...r}){return(0,a.jsx)(m.Close,{"data-slot":"alert-dialog-cancel",className:(0,x.cn)(t),render:(0,a.jsx)(D.Button,{variant:e,size:o}),...r})},"AlertDialogContent",0,function({className:t,size:e="default",...o}){return(0,a.jsxs)(j,{children:[(0,a.jsx)(v,{}),(0,a.jsx)(m.Popup,{"data-slot":"alert-dialog-content","data-size":e,className:(0,x.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-popup grid w-full -translate-x-1/2 -translate-y-1/2 gap-6 rounded-xl bg-popover p-6 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-lg data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",t),...o})]})},"AlertDialogDescription",0,function({className:t,...e}){return(0,a.jsx)(m.Description,{"data-slot":"alert-dialog-description",className:(0,x.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",t),...e})},"AlertDialogFooter",0,function({className:t,...e}){return(0,a.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,x.cn)("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",t),...e})},"AlertDialogHeader",0,function({className:t,...e}){return(0,a.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,x.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",t),...e})},"AlertDialogTitle",0,function({className:t,...e}){return(0,a.jsx)(m.Title,{"data-slot":"alert-dialog-title",className:(0,x.cn)("text-lg font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",t),...e})},"AlertDialogTrigger",0,function({...t}){return(0,a.jsx)(m.Trigger,{"data-slot":"alert-dialog-trigger",...t})}],868499)},841238,t=>{"use strict";let a=t=>"object"==typeof t&&null!==t;t.s(["streamErrorMessage",0,t=>{if(!a(t)||!t.error)return null;let{error:e}=t;return"string"==typeof e?e:a(e)&&"string"==typeof e.message?e.message:JSON.stringify(e)}])}]);
|
||||
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,180127,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["default",0,t])},871689,e=>{"use strict";var t=e.i(180127);e.s(["ArrowLeft",()=>t.default])},595468,e=>{"use strict";var t=e.i(123287);e.s(["CheckCircle2",()=>t.default])},541071,e=>{"use strict";var t=e.i(373488);e.s(["MoreHorizontal",()=>t.default])},332102,e=>{"use strict";let t=(0,e.i(475254).default)("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);e.s(["Inbox",0,t],332102)},878894,e=>{"use strict";var t=e.i(582458);e.s(["AlertTriangle",()=>t.default])},512154,e=>{e.q("/litellm-asset-prefix/_next/static/media/bing.3b9zkaag7urkm.png")},764453,e=>{e.q("/litellm-asset-prefix/_next/static/media/dataforseo.1g2jptyl8rcb1.png")},341367,e=>{e.q("/litellm-asset-prefix/_next/static/media/exa_ai.36h3hrkelbgj-.png")},732731,e=>{e.q("/litellm-asset-prefix/_next/static/media/google_pse.3hii8gkiytuod.png")},601739,e=>{e.q("/litellm-asset-prefix/_next/static/media/nimble.0ors74qocyffr.png")},911676,e=>{e.q("/litellm-asset-prefix/_next/static/media/parallel_ai.0jx5g5pf0u355.png")},692745,e=>{e.q("/litellm-asset-prefix/_next/static/media/perplexity.2zhky1a8ufk3x.png")},380084,e=>{e.q("/litellm-asset-prefix/_next/static/media/tavily.15dorlkyzxydf.png")},450240,e=>{"use strict";var t=e.i(843476),i=e.i(286536),s=e.i(77705),a=e.i(271645),l=e.i(950594);let r=a.forwardRef(({className:e,groupClassName:r,disabled:n,...p},d)=>{let[o,u]=a.useState(!1);return(0,t.jsxs)(l.InputGroup,{className:r,children:[(0,t.jsx)(l.InputGroupInput,{...p,ref:d,type:o?"text":"password",disabled:n,className:e}),(0,t.jsx)(l.InputGroupAddon,{align:"inline-end",children:(0,t.jsx)(l.InputGroupButton,{size:"icon-xs",disabled:n,"aria-label":o?"Hide password":"Show password",onClick:()=>u(e=>!e),children:o?(0,t.jsx)(s.EyeOff,{}):(0,t.jsx)(i.Eye,{})})})]})});r.displayName="PasswordInput",e.s(["PasswordInput",0,r])}]);
|
||||
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
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
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
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
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
|
|
@ -1,35 +0,0 @@
|
|||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,972520,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],972520)},411929,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(972520),a=e.i(174886),o=e.i(519455),n=e.i(515288),i=e.i(624687),l=e.i(571303),d=e.i(602869),c=e.i(417385);let u=({accessToken:e})=>{let[u,m]=(0,r.useState)(`{
|
||||
"model": "openai/gpt-4o",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "You are a helpful assistant."
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Explain quantum computing in simple terms"
|
||||
}
|
||||
],
|
||||
"temperature": 0.7,
|
||||
"max_tokens": 500,
|
||||
"stream": true
|
||||
}`),[p,h]=(0,r.useState)(""),[x,f]=(0,r.useState)(!1),g=async()=>{f(!0);try{let a;try{a=JSON.parse(u)}catch(e){c.toast.fromError("Invalid JSON in request body"),f(!1);return}let o={call_type:"completion",request_body:a};if(!e){c.toast.fromError("No access token found"),f(!1);return}let n=await (0,d.transformRequestCall)(e,o);if(n.raw_request_api_base&&n.raw_request_body){var t,r,s;let e,a,o=(t=n.raw_request_api_base,r=n.raw_request_body,s=n.raw_request_headers||{},e=JSON.stringify(r,null,2).split("\n").map(e=>` ${e}`).join("\n"),a=Object.entries(s).map(([e,t])=>`-H '${e}: ${t}'`).join(" \\\n "),`curl -X POST \\
|
||||
${t} \\
|
||||
${a?`${a} \\
|
||||
`:""}-H 'Content-Type: application/json' \\
|
||||
-d '{
|
||||
${e}
|
||||
}'`);h(o),c.toast.success("Request transformed successfully")}else{let e="string"==typeof n?n:JSON.stringify(n);h(e),c.toast.info("Transformed request received in unexpected format")}}catch(e){console.error("Error transforming request:",e),c.toast.fromError("Failed to transform request")}finally{f(!1)}};return(0,t.jsxs)("div",{className:"p-2",children:[(0,t.jsx)("h1",{className:"text-lg font-medium text-foreground",children:"Playground"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"See how LiteLLM transforms your request for the specified provider."}),(0,t.jsxs)("div",{className:"mt-4 grid grid-cols-1 gap-4 lg:grid-cols-2",children:[(0,t.jsxs)(n.Card,{children:[(0,t.jsxs)(n.CardHeader,{children:[(0,t.jsx)(n.CardTitle,{className:"text-2xl font-bold",children:"Original Request"}),(0,t.jsx)(n.CardDescription,{children:"The request you would send to LiteLLM /chat/completions endpoint."})]}),(0,t.jsx)(n.CardContent,{children:(0,t.jsx)(i.Textarea,{className:"h-72 resize-none p-4 font-mono text-sm field-sizing-fixed",value:u,onChange:e=>m(e.target.value),onKeyDown:e=>{(e.metaKey||e.ctrlKey)&&"Enter"===e.key&&(e.preventDefault(),g())},placeholder:"Press Cmd/Ctrl + Enter to transform"})}),(0,t.jsx)(n.CardFooter,{className:"justify-end",children:(0,t.jsxs)(o.Button,{onClick:g,disabled:x,children:[(0,t.jsx)("span",{children:"Transform"}),x?(0,t.jsx)(l.UiLoadingSpinner,{className:"size-4"}):(0,t.jsx)(s.ArrowRight,{})]})})]}),(0,t.jsxs)(n.Card,{children:[(0,t.jsxs)(n.CardHeader,{children:[(0,t.jsx)(n.CardTitle,{className:"text-2xl font-bold",children:"Transformed Request"}),(0,t.jsx)(n.CardDescription,{children:"How LiteLLM transforms your request for the specified provider."}),(0,t.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:"Note: Sensitive headers are not shown."})]}),(0,t.jsx)(n.CardContent,{children:(0,t.jsxs)("div",{className:"relative rounded-md bg-muted",children:[(0,t.jsx)("pre",{className:"h-72 overflow-auto p-4 font-mono text-sm",children:p||`curl -X POST \\
|
||||
https://api.openai.com/v1/chat/completions \\
|
||||
-H 'Authorization: Bearer sk-xxx' \\
|
||||
-H 'Content-Type: application/json' \\
|
||||
-d '{
|
||||
"model": "gpt-4",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "You are a helpful assistant."
|
||||
}
|
||||
],
|
||||
"temperature": 0.7
|
||||
}'`}),(0,t.jsx)(o.Button,{variant:"ghost",size:"icon-sm","aria-label":"Copy to clipboard",className:"absolute top-2 right-2",onClick:()=>{navigator.clipboard.writeText(p||""),c.toast.success("Copied to clipboard")},children:(0,t.jsx)(a.Copy,{})})]})})]})]}),(0,t.jsx)("div",{className:"mt-4 text-right",children:(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Found an error? File an issue"," ",(0,t.jsx)("a",{className:"underline underline-offset-4",href:"https://github.com/BerriAI/litellm/issues",target:"_blank",rel:"noopener noreferrer",children:"here"}),"."]})})]})};var m=e.i(135214);e.s(["default",0,function(){let{accessToken:e}=(0,m.default)();return(0,t.jsx)(u,{accessToken:e})}],411929)}]);
|
||||
|
|
@ -1 +0,0 @@
|
|||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75533,t=>{"use strict";var e=t.i(843476),u=t.i(135214),i=t.i(936578),l=t.i(601964);t.s(["default",0,function(){let{isLoading:t,isAuthorized:o}=(0,u.default)();return t||!o?(0,e.jsx)(i.default,{}):(0,e.jsx)(l.default,{})}])}]);
|
||||
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
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
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
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35440,e=>{var s=e.i(843476),t=e.i(405033),a=e.i(271645),l=e.i(217923),d=e.i(266027),r=e.i(602869),i=e.i(519455),o=e.i(302747);function n(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toLocaleString()}function u({data:e,maxVal:t}){let a=Math.max(2,Math.floor(200/Math.max(e.length,1)));return(0,s.jsx)("div",{className:"flex items-end gap-px",style:{height:48},children:e.map((e,l)=>{let d=t>0?Math.max(2,e/t*48):2;return(0,s.jsx)("div",{className:"bg-primary rounded-[1px]",style:{width:a,height:d,opacity:.7+e/Math.max(t,1)*.3}},l)})})}let c=[{value:"7d",label:"7d"},{value:"30d",label:"30d"},{value:"90d",label:"90d"}],m=({accessToken:e,userId:t})=>{let m,x,[h,v]=(0,a.useState)("30d"),{start:b,end:g}=(m=new Date,(x=new Date).setDate(m.getDate()-("7d"===h?7:"30d"===h?30:90)),{start:x,end:m}),{data:p,isLoading:f}=(0,d.f)({queryKey:["chat-user-usage",e,t,h],queryFn:()=>(0,r.sh)("user",{accessToken:e,startTime:b,endTime:g,entityIds:t?[t]:null}),enabled:!!e}),j=p?.metadata,N=p?.results??[],_=N.map(e=>e.metrics.spend),y=N.map(e=>e.metrics.api_requests),q=Math.max(..._,0),w=Math.max(...y,0),T=j?[{label:"Total Spend",value:`$${j.total_spend.toFixed(2)}`},{label:"API Requests",value:n(j.total_api_requests)},{label:"Tokens Used",value:n(j.total_tokens),sub:`${n(j.total_prompt_tokens)} in / ${n(j.total_completion_tokens)} out`},{label:"Success Rate",value:j.total_api_requests>0?`${(j.total_successful_requests/j.total_api_requests*100).toFixed(1)}%`:"N/A",sub:j.total_failed_requests>0?`${j.total_failed_requests} failed`:void 0,subVariant:j.total_failed_requests>0?"error":void 0}]:[];return(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-base font-semibold text-foreground mb-0.5",children:"Your Usage"}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground m-0",children:"Spend and request activity"})]}),(0,s.jsx)("div",{className:"flex gap-1",children:c.map(e=>(0,s.jsx)(i.K,{variant:h===e.value?"default":"outline",size:"sm",onClick:()=>v(e.value),children:e.label},e.value))})]}),f?(0,s.jsx)("div",{className:"grid grid-cols-2 gap-3",children:[void 0,void 0,void 0,void 0].map((e,t)=>(0,s.jsxs)("div",{className:"border rounded-lg p-4 bg-card flex flex-col gap-2",children:[(0,s.jsx)(o.f,{className:"h-3 w-1/2"}),(0,s.jsx)(o.f,{className:"h-5 w-2/3"})]},t))}):j&&0!==j.total_api_requests?(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"grid grid-cols-2 gap-3 mb-5",children:T.map(e=>(0,s.jsxs)("div",{className:"border rounded-lg p-4 bg-card",children:[(0,s.jsx)("div",{className:"text-xs text-muted-foreground mb-1",children:e.label}),(0,s.jsx)("div",{className:"text-xl font-semibold text-foreground",children:e.value}),e.sub&&(0,s.jsx)("div",{className:`text-xs mt-0.5 ${"error"===e.subVariant?"text-destructive":"text-muted-foreground"}`,children:e.sub})]},e.label))}),N.length>1&&(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,s.jsxs)("div",{className:"border rounded-lg p-4 bg-card",children:[(0,s.jsx)("div",{className:"text-xs text-muted-foreground mb-2",children:"Daily Spend"}),(0,s.jsx)(u,{data:_,maxVal:q})]}),(0,s.jsxs)("div",{className:"border rounded-lg p-4 bg-card",children:[(0,s.jsx)("div",{className:"text-xs text-muted-foreground mb-2",children:"Daily Requests"}),(0,s.jsx)(u,{data:y,maxVal:w})]})]})]}):(0,s.jsxs)("div",{className:"text-center text-muted-foreground text-sm py-12 border border-dashed rounded-lg",children:[(0,s.jsx)(l.f,{className:"h-6 w-6 mb-3 mx-auto text-muted-foreground/50"}),"No usage data for this period"]})]})};e.s(["default",0,function(){let{accessToken:e,userId:a}=(0,t.k)();return(0,s.jsx)("div",{className:"flex-1 min-h-0 overflow-auto w-full py-8 px-8",children:(0,s.jsx)(m,{accessToken:e,userId:a})})}],35440)},302747,e=>{var s=e.i(843476),t=e.i(196631);e.s(["f",0,function({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"skeleton",className:(0,t.c)("animate-pulse rounded-md bg-muted",e),...a})}])}])})();
|
||||
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
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
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
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,178971,e=>{"use strict";var s=e.i(843476),t=e.i(271645),n=e.i(135214),c=e.i(227409);function i(){let{accessToken:e}=(0,n.f)(),[i,u]=(0,t.useState)([]);return(0,s.jsx)("div",{className:"mx-auto w-full max-w-5xl px-8 py-8",children:(0,s.jsx)(c.f,{accessToken:e??"",selectedServers:i,onChange:u})})}e.s(["default",0,function(){return(0,s.jsx)(t.Suspense,{children:(0,s.jsx)(i,{})})}])}]);
|
||||
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
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
|
|
@ -1 +0,0 @@
|
|||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,312130,e=>{"use strict";var t=e.i(843476),l=e.i(271645),a=e.i(519455),o=e.i(515288),s=e.i(793479),r=e.i(110204),n=e.i(571303),i=e.i(275144),u=e.i(602869),d=e.i(417385);let c=({userID:e,userRole:c,accessToken:m})=>{let{setLogoUrl:h,setLogoUrlDark:g,setFaviconUrl:p}=(0,i.useTheme)(),[x,f]=(0,l.useState)(""),[v,j]=(0,l.useState)(""),[y,_]=(0,l.useState)(""),[b,C]=(0,l.useState)(!1);(0,l.useEffect)(()=>{m&&L()},[m]);let L=async()=>{try{let e=(0,u.getProxyBaseUrl)(),t=e?`${e}/get/ui_theme_settings`:"/get/ui_theme_settings",l=await fetch(t,{method:"GET",headers:{[(0,u.getGlobalLitellmHeaderName)()]:`Bearer ${m}`,"Content-Type":"application/json"}});if(l.ok){let e=await l.json();f(e.values?.logo_url||""),j(e.values?.logo_url_dark||""),_(e.values?.favicon_url||""),h(e.values?.logo_url||null),g(e.values?.logo_url_dark||null),p(e.values?.favicon_url||null)}}catch(e){console.error("Error fetching theme settings:",e)}},N=async()=>{C(!0);try{let e=(0,u.getProxyBaseUrl)(),t=e?`${e}/update/ui_theme_settings`:"/update/ui_theme_settings";if((await fetch(t,{method:"PATCH",headers:{[(0,u.getGlobalLitellmHeaderName)()]:`Bearer ${m}`,"Content-Type":"application/json"},body:JSON.stringify({logo_url:x||null,logo_url_dark:v||null,favicon_url:y||null})})).ok)d.toast.success("Theme settings updated successfully!"),h(x||null),g(v||null),p(y||null);else throw Error("Failed to update settings")}catch(e){console.error("Error updating theme settings:",e),d.toast.fromError("Failed to update theme settings")}finally{C(!1)}},k=async()=>{f(""),j(""),_(""),h(null),g(null),p(null),C(!0);try{let e=(0,u.getProxyBaseUrl)(),t=e?`${e}/update/ui_theme_settings`:"/update/ui_theme_settings";if((await fetch(t,{method:"PATCH",headers:{[(0,u.getGlobalLitellmHeaderName)()]:`Bearer ${m}`,"Content-Type":"application/json"},body:JSON.stringify({logo_url:null,logo_url_dark:null,favicon_url:null})})).ok)d.toast.success("Theme settings reset to default!");else throw Error("Failed to reset")}catch(e){console.error("Error resetting theme settings:",e),d.toast.fromError("Failed to reset theme settings")}finally{C(!1)}};return m?(0,t.jsxs)("div",{className:"w-full mx-auto max-w-4xl px-6 py-8",children:[(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("h1",{className:"mb-2 text-2xl font-bold",children:"UI Theme Customization"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Customize your LiteLLM admin dashboard with a custom logo and favicon."})]}),(0,t.jsx)(o.Card,{children:(0,t.jsxs)(o.CardContent,{className:"space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(r.Label,{htmlFor:"ui-theme-logo-url",className:"mb-2",children:"Custom Logo URL"}),(0,t.jsx)(s.Input,{id:"ui-theme-logo-url",placeholder:"https://example.com/logo.png",value:x,onChange:e=>{f(e.target.value),h(e.target.value||null)}}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:"Enter a URL for your custom logo or leave empty for default"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(r.Label,{htmlFor:"ui-theme-logo-url-dark",className:"mb-2",children:"Custom Logo URL (dark mode)"}),(0,t.jsx)(s.Input,{id:"ui-theme-logo-url-dark",placeholder:"https://example.com/logo-dark.png",value:v,onChange:e=>{j(e.target.value),g(e.target.value||null)}}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:"Enter a URL for a logo suited to dark backgrounds, or leave empty to reuse the logo above"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(r.Label,{htmlFor:"ui-theme-favicon-url",className:"mb-2",children:"Custom Favicon URL"}),(0,t.jsx)(s.Input,{id:"ui-theme-favicon-url",placeholder:"https://example.com/favicon.ico",value:y,onChange:e=>{_(e.target.value),p(e.target.value||null)}}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:"Enter a URL for your custom favicon (.ico, .png, or .svg) or leave empty for default"})]}),(0,t.jsxs)("div",{className:"flex gap-3 pt-4",children:[(0,t.jsxs)(a.Button,{onClick:N,disabled:b,children:[b&&(0,t.jsx)(n.UiLoadingSpinner,{className:"size-4"}),"Save Changes"]}),(0,t.jsxs)(a.Button,{variant:"outline",onClick:k,disabled:b,children:[b&&(0,t.jsx)(n.UiLoadingSpinner,{className:"size-4"}),"Reset to Default"]})]})]})})]}):null};var m=e.i(135214);e.s(["default",0,function(){let{accessToken:e,userRole:l,userId:a}=(0,m.default)();return(0,t.jsx)(c,{userID:a,userRole:l,accessToken:e})}],312130)}]);
|
||||
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
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
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
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
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
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
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
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue