Merge remote-tracking branch 'origin/dev_ty_06_end' into llm_framework

This commit is contained in:
aries_ckt 2023-06-30 15:19:10 +08:00
commit 933b0fa203
69 changed files with 485 additions and 83 deletions

1
.gitignore vendored
View File

@ -7,7 +7,6 @@ __pycache__/
*.so *.so
message/ message/
static/
.env .env
.idea .idea

View File

@ -1,8 +1,3 @@
{ {
"extends": "next/core-web-vitals", "extends": "next/core-web-vitals"
"rules": {
"indent": ["warning", 2, {
"SwitchCase": 1
}]
}
} }

View File

@ -1,44 +1,14 @@
"use client" "use client"
import { useRequest } from 'ahooks'; import dynamic from 'next/dynamic'
import { sendGetRequest, sendPostRequest } from '@/utils/request';
import useAgentChat from '@/hooks/useAgentChat';
import ChatBoxComp from '@/components/chatBox';
import { useDialogueContext } from '@/app/context/dialogue';
const AgentPage = (props) => { const DynamicWrapper = dynamic(() => import ('@/components/agentPage'), {
const { refreshDialogList } = useDialogueContext(); loading: () => <p>Loading...</p>,
ssr: false,
const { data: historyList } = useRequest(async () => await sendGetRequest('/v1/chat/dialogue/messages/history', { });
con_uid: props.params?.agentId
}), {
ready: !!props.params?.agentId
});
const { data: paramsList } = useRequest(async () => await sendPostRequest(`/v1/chat/mode/params/list?chat_mode=${props.searchParams?.scene}`), {
ready: !!props.searchParams?.scene
});
const { history, handleChatSubmit } = useAgentChat({
queryAgentURL: `http://localhost:5000/v1/chat/completions`,
queryBody: {
conv_uid: props.params?.agentId,
chat_mode: props.searchParams?.scene || 'chat_normal',
},
initHistory: historyList?.data
});
const DynamicAgentPage = (props: any) => {
return ( return (
<div className='mx-auto flex h-full max-w-3xl flex-col gap-6 px-5 py-6 sm:gap-8 xl:max-w-5xl '> <DynamicWrapper {...props} />
<ChatBoxComp
initialMessage={historyList?.data ? (historyList?.data?.length <= 0 ? props.searchParams?.initMessage : undefined) : undefined}
clearIntialMessage={async () => {
await refreshDialogList();
}}
messages={history || []}
onSubmit={handleChatSubmit}
paramsList={paramsList?.data}
/>
</div>
) )
} }
export default AgentPage; export default DynamicAgentPage;

View File

@ -16,7 +16,7 @@ const Item = styled(Sheet)(({ theme }) => ({
const Agents = () => { const Agents = () => {
const { handleChatSubmit, history } = useAgentChat({ const { handleChatSubmit, history } = useAgentChat({
queryAgentURL: `http://localhost:5000/v1/chat/completions`, queryAgentURL: `http://30.183.153.109:5000/v1/chat/completions`,
}); });
const data = [ const data = [
@ -119,10 +119,10 @@ const Agents = () => {
<Grid key={item.label} xs={3}> <Grid key={item.label} xs={3}>
<Card className="flex-1 h-full"> <Card className="flex-1 h-full">
<CardContent className="justify-around"> <CardContent className="justify-around">
<Typography gutterBottom variant="h5" component="div"> <Typography gutterBottom component="div">
{item.label} {item.label}
</Typography> </Typography>
<Typography variant="body2"> <Typography>
{item.value} {item.value}
</Typography> </Typography>
</CardContent> </CardContent>
@ -134,7 +134,7 @@ const Agents = () => {
<Item className='flex-1'> <Item className='flex-1'>
<Card className='h-full'> <Card className='h-full'>
<CardContent className='h-full'> <CardContent className='h-full'>
<Typography gutterBottom variant="h5" component="div"> <Typography gutterBottom component="div">
Revenue Won by Month Revenue Won by Month
</Typography> </Typography>
<div className='flex-1'> <div className='flex-1'>
@ -156,7 +156,7 @@ const Agents = () => {
<Grid xs={4} className='h-full'> <Grid xs={4} className='h-full'>
<Card className='flex-1 h-full'> <Card className='flex-1 h-full'>
<CardContent className='h-full'> <CardContent className='h-full'>
<Typography gutterBottom variant="h5" component="div"> <Typography gutterBottom component="div">
Close % by Month Close % by Month
</Typography> </Typography>
<div className='flex-1'> <div className='flex-1'>
@ -171,7 +171,7 @@ const Agents = () => {
<Grid xs={4} className='h-full'> <Grid xs={4} className='h-full'>
<Card className='flex-1 h-full'> <Card className='flex-1 h-full'>
<CardContent className='h-full'> <CardContent className='h-full'>
<Typography gutterBottom variant="h5" component="div"> <Typography gutterBottom component="div">
Close % by Month Close % by Month
</Typography> </Typography>
<div className='flex-1'> <div className='flex-1'>
@ -186,7 +186,7 @@ const Agents = () => {
<Grid xs={4} className='h-full'> <Grid xs={4} className='h-full'>
<Card className='flex-1 h-full'> <Card className='flex-1 h-full'>
<CardContent className='h-full'> <CardContent className='h-full'>
<Typography gutterBottom variant="h5" component="div"> <Typography gutterBottom component="div">
Close % by Month Close % by Month
</Typography> </Typography>
<div className='flex-1'> <div className='flex-1'>

View File

@ -10,7 +10,7 @@ export const [useDialogueContext, DialogueProvider] = createCtx<{
refreshDialogList: () => void; refreshDialogList: () => void;
}>(); }>();
export default ({ children }: { const DialogueContext = ({ children }: {
children: React.ReactElement children: React.ReactElement
}) => { }) => {
const { const {
@ -33,3 +33,5 @@ export default ({ children }: {
</DialogueProvider> </DialogueProvider>
) )
} }
export default DialogueContext;

View File

@ -1 +1 @@
export const fetchBaseURL = 'http://30.183.154.125:5000'; export const fetchBaseURL = 'http://30.183.153.109:5000';

View File

@ -1,9 +1,9 @@
"use client" "use client"
import './globals.css' import './globals.css'
import './nprogress.css'; import '@/nprogress.css';
import LeftSider from '@/components/leftSider'; import LeftSider from '@/components/leftSider';
import { CssVarsProvider, ThemeProvider } from '@mui/joy/styles'; import { CssVarsProvider, ThemeProvider } from '@mui/joy/styles';
import { joyTheme } from './defaultTheme'; import { joyTheme } from '@/defaultTheme';
import TopProgressBar from '@/components/topProgressBar'; import TopProgressBar from '@/components/topProgressBar';
import DialogueContext from './context/dialogue'; import DialogueContext from './context/dialogue';

View File

@ -39,7 +39,7 @@ export default function Home() {
return ( return (
<> <>
<div className={`${mode} absolute z-20 top-0 inset-x-0 flex justify-center overflow-hidden pointer-events-none`}> <div className={`absolute z-20 top-0 inset-x-0 flex justify-center overflow-hidden pointer-events-none`}>
<div className='w-[108rem] flex-none flex justify-end'> <div className='w-[108rem] flex-none flex justify-end'>
<picture> <picture>
<source srcSet='/bg1.avif' type='image/avif'></source> <source srcSet='/bg1.avif' type='image/avif'></source>

View File

@ -0,0 +1,53 @@
"use client"
import { useRequest } from 'ahooks';
import { sendGetRequest, sendPostRequest } from '@/utils/request';
import useAgentChat from '@/hooks/useAgentChat';
import ChatBoxComp from '@/components/chatBox';
import { useDialogueContext } from '@/app/context/dialogue';
const AgentPage = (props: {
params: {
agentId?: string;
},
searchParams: {
scene?: string;
initMessage?: string;
}
}) => {
const { refreshDialogList } = useDialogueContext();
const { data: historyList } = useRequest(async () => await sendGetRequest('/v1/chat/dialogue/messages/history', {
con_uid: props.params?.agentId
}), {
ready: !!props.params?.agentId
});
const { data: paramsList } = useRequest(async () => await sendPostRequest(`/v1/chat/mode/params/list?chat_mode=${props.searchParams?.scene}`), {
ready: !!props.searchParams?.scene
});
const { history, handleChatSubmit } = useAgentChat({
queryAgentURL: `http://30.183.153.109:5000/v1/chat/completions`,
queryBody: {
conv_uid: props.params?.agentId,
chat_mode: props.searchParams?.scene || 'chat_normal',
},
initHistory: historyList?.data
});
return (
<div className='mx-auto flex h-full max-w-3xl flex-col gap-6 px-5 py-6 sm:gap-8 xl:max-w-5xl '>
<ChatBoxComp
initialMessage={historyList?.data ? (historyList?.data?.length <= 0 ? props.searchParams?.initMessage : undefined) : undefined}
clearIntialMessage={async () => {
await refreshDialogList();
}}
messages={history || []}
onSubmit={handleChatSubmit}
paramsList={paramsList?.data}
/>
</div>
)
}
export default AgentPage;

View File

@ -33,8 +33,9 @@ Router.events.on('routeChangeStart', load);
Router.events.on('routeChangeComplete', stop); Router.events.on('routeChangeComplete', stop);
Router.events.on('routeChangeError', stop); Router.events.on('routeChangeError', stop);
const originalFetch = window.fetch; if (typeof window !== 'undefined' && typeof window?.fetch === 'function') {
window.fetch = async function (...args) { const originalFetch = window.fetch;
window.fetch = async function (...args) {
if (activeRequests === 0) { if (activeRequests === 0) {
load(); load();
} }
@ -52,7 +53,8 @@ window.fetch = async function (...args) {
stop(); stop();
} }
} }
}; };
}
export default function TopProgressBar() { export default function TopProgressBar() {
return null; return null;

View File

@ -1,11 +1,12 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: 'export',
experimental: { experimental: {
esmExternals: 'loose' esmExternals: 'loose'
}, },
images: { typescript: {
unoptimized: true ignoreBuildErrors: true
}, }
} }
module.exports = nextConfig module.exports = nextConfig

View File

@ -2,7 +2,7 @@ import { message } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { isPlainObject } from 'lodash'; import { isPlainObject } from 'lodash';
axios.defaults.baseURL = 'http://localhost:5000'; axios.defaults.baseURL = 'http://127.0.0.1:5000';
axios.defaults.timeout = 10000; axios.defaults.timeout = 10000;

View File

@ -99,7 +99,7 @@ def knowledge_list():
@router.get("/") @router.get("/")
async def read_main(): async def read_main():
return FileResponse(f"{static_file_path}/test.html") return FileResponse(f"{static_file_path}/index.html")
@router.get("/v1/chat/dialogue/list", response_model=Result[ConversationVo]) @router.get("/v1/chat/dialogue/list", response_model=Result[ConversationVo])

View File

@ -6,7 +6,7 @@ import sys
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.append(ROOT_PATH) sys.path.append(ROOT_PATH)
import signal
from pilot.configs.config import Config from pilot.configs.config import Config
from pilot.configs.model_config import ( from pilot.configs.model_config import (
DATASETS_DIR, DATASETS_DIR,
@ -31,6 +31,8 @@ from pilot.openapi.api_v1.api_v1 import router as api_v1, validation_exception_h
static_file_path = os.path.join(os.getcwd(), "server/static") static_file_path = os.path.join(os.getcwd(), "server/static")
CFG = Config() CFG = Config()
logger = build_logger("webserver", LOGDIR + "webserver.log") logger = build_logger("webserver", LOGDIR + "webserver.log")
@ -63,7 +65,9 @@ app.add_middleware(
allow_headers=["*"], allow_headers=["*"],
) )
app.mount("/static", StaticFiles(directory=static_file_path), name="static") app.mount("/_next/static", StaticFiles(directory=static_file_path + "/_next/static", html=True))
app.mount("/static", StaticFiles(directory=static_file_path), name="static2")
app.include_router(knowledge_router) app.include_router(knowledge_router)
app.include_router(api_v1) app.include_router(api_v1)
app.add_exception_handler(RequestValidationError, validation_exception_handler) app.add_exception_handler(RequestValidationError, validation_exception_handler)

View File

@ -0,0 +1 @@
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-24270a861878a52b.js" defer=""></script><script src="/_next/static/chunks/framework-43665103d101a22d.js" defer=""></script><script src="/_next/static/chunks/main-4d516eb54537b10d.js" defer=""></script><script src="/_next/static/chunks/pages/_app-1f2755172264764d.js" defer=""></script><script src="/_next/static/chunks/pages/_error-f5357f382422dd96.js" defer=""></script><script src="/_next/static/88tBPZRhns7FgumS5knsE/_buildManifest.js" defer=""></script><script src="/_next/static/88tBPZRhns7FgumS5knsE/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"88tBPZRhns7FgumS5knsE","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>

View File

@ -0,0 +1 @@
self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-f5357f382422dd96.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

View File

@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()

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

View File

@ -0,0 +1,9 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[920],{20704:function(e,t,n){Promise.resolve().then(n.bind(n,93516))},93516:function(e,t,n){"use strict";n.r(t);var r=n(9268),l=n(51213),u=n.n(l);let o=u()(()=>Promise.all([n.e(180),n.e(448),n.e(22),n.e(86),n.e(93),n.e(259),n.e(751),n.e(234),n.e(702)]).then(n.bind(n,49702)),{loadableGenerated:{webpack:()=>[49702]},loading:()=>(0,r.jsx)("p",{children:"Loading..."}),ssr:!1});t.default=e=>(0,r.jsx)(o,{...e})},51213:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(26927);n(86006);let l=r._(n(91354));function u(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){let n=l.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e),Object.assign(r,t);let o=r.loader;return n({...r,loader:()=>null!=o?o().then(u):Promise.resolve(u(()=>null))})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23238:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{suspense:function(){return l},NoSSR:function(){return u}}),n(26927),n(86006);let r=n(65978);function l(){let e=Error(r.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=r.NEXT_DYNAMIC_NO_SSR_CODE,e}function u(e){let{children:t}=e;return t}},91354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(26927),l=r._(n(86006)),u=n(23238),o=function(e){let t=Object.assign({loader:null,loading:null,ssr:!0},e);function n(e){let n=t.loading,r=l.default.createElement(n,{isLoading:!0,pastDelay:!0,error:null}),o=t.ssr?l.default.Fragment:u.NoSSR,a=t.lazy;return l.default.createElement(l.default.Suspense,{fallback:r},l.default.createElement(o,null,l.default.createElement(a,e)))}return t.lazy=l.default.lazy(t.loader),n.displayName="LoadableComponent",n}},83177:function(e,t,n){"use strict";/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(86006),l=Symbol.for("react.element"),u=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,n){var r,u={},i=null,s=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(s=t.ref),t)o.call(t,r)&&!f.hasOwnProperty(r)&&(u[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===u[r]&&(u[r]=t[r]);return{$$typeof:l,type:e,key:i,ref:s,props:u,_owner:a.current}}t.Fragment=u,t.jsx=i,t.jsxs=i},9268:function(e,t,n){"use strict";e.exports=n(83177)}},function(e){e.O(0,[253,769,744],function(){return e(e.s=20704)}),_N_E=e.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[459],{97155:function(){}},function(n){n.O(0,[253,769,744],function(){return n(n.s=97155)}),_N_E=n.O()}]);

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

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{58598:function(e,n,t){Promise.resolve().then(t.t.bind(t,68802,23)),Promise.resolve().then(t.t.bind(t,13211,23)),Promise.resolve().then(t.t.bind(t,5767,23)),Promise.resolve().then(t.t.bind(t,14299,23)),Promise.resolve().then(t.t.bind(t,37396,23))}},function(e){var n=function(n){return e(e.s=n)};e.O(0,[253,769],function(){return n(29070),n(58598)}),_N_E=e.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{41597:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return u(55366)}])}},function(n){var _=function(_){return n(n.s=_)};n.O(0,[774,179],function(){return _(41597),_(75919)}),_N_E=n.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[820],{81981:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(14600)}])}},function(n){n.O(0,[888,774,179],function(){return n(n.s=81981)}),_N_E=n.O()}]);

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={},d={};function l(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={id:e,loaded:!1,exports:{}},r=!0;try{a[e].call(n.exports,n,n.exports,l),r=!1}finally{r&&delete d[e]}return n.loaded=!0,n.exports}l.m=a,e=[],l.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(l.O).every(function(e){return l.O[e](n[f])})?n.splice(f--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var a=r();void 0!==a&&(t=a)}}return t},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.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);l.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},l.d(o,u),o},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce(function(t,n){return l.f[n](e,t),t},[]))},l.u=function(e){return 702===e?"static/chunks/702.d4f5815f0f061322.js":"static/chunks/"+(180===e?"0e02fca3":e)+"-"+({22:"703ba16bc0ddc40c",86:"3a20bc6b78835c59",93:"d96460b174626309",180:"615d0d51fa074d92",234:"8eba541fbdf57ced",259:"2c3490a9eca2f411",448:"f3a26a5f721e5a66",751:"9808572c67f2351c"})[e]+".js"},l.miniCssF=function(e){return"static/css/1a8d71ce4977c414.css"},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="_N_E:",l.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 d=f[a];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==o+n){i=d;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",o+n),i.src=l.tu(e)),r[e]=[t];var s=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(s.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=s.bind(null,i.onerror),i.onload=s.bind(null,i.onload),c&&document.head.appendChild(i)},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},l.tt=function(){return void 0===u&&(u={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},l.tu=function(e){return l.tt().createScriptURL(e)},l.p="/_next/",i={272:0},l.f.j=function(e,t){var n=l.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=l.p+l.u(e),u=Error();l.l(o,function(t){if(l.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}},l.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)l.o(u,n)&&(l.m[n]=u[n]);if(c)var a=c(l)}for(e&&e(t);f<o.length;f++)r=o[f],l.o(i,r)&&i[r]&&i[r][0](),i[r]=0;return l.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))}();

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,9 @@
1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["agents",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
8:I{"id":"68947","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","757:static/chunks/f60284a2-6891068c9ea7ce77.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","86:static/chunks/86-3a20bc6b78835c59.js","93:static/chunks/93-d96460b174626309.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","234:static/chunks/234-8eba541fbdf57ced.js","947:static/chunks/947-209ba7aac7928863.js","718:static/chunks/app/agents/page-4286c92088ccc4e9.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","agents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],null],"segment":"agents"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]

Binary file not shown.

BIN
pilot/server/static/bg2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["datastores",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
8:I{"id":"44323","chunks":["448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","86:static/chunks/86-3a20bc6b78835c59.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","777:static/chunks/777-6762a9fec77c12c4.js","611:static/chunks/611-d8d91bbf74fb8a74.js","43:static/chunks/app/datastores/page-171d660b8104db30.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["datastores",{"children":["documents",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
8:I{"id":"42069","chunks":["550:static/chunks/925f3d25-1af7259455ef26bd.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","86:static/chunks/86-3a20bc6b78835c59.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","777:static/chunks/777-6762a9fec77c12c4.js","434:static/chunks/434-09f9dde89abf2ac7.js","611:static/chunks/611-d8d91bbf74fb8a74.js","470:static/chunks/app/datastores/documents/page-0b797043cfee212f.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"documents"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["datastores",{"children":["documents",{"children":["chunklist",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
8:I{"id":"26257","chunks":["448:static/chunks/448-f3a26a5f721e5a66.js","599:static/chunks/599-3961dce1841e3605.js","952:static/chunks/952-2dc4f0545dc6908d.js","777:static/chunks/777-6762a9fec77c12c4.js","434:static/chunks/434-09f9dde89abf2ac7.js","538:static/chunks/app/datastores/documents/chunklist/page-65ded782e5468079.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children","chunklist","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"chunklist"},"styles":[]}],"segment":"documents"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
8:I{"id":"93768","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","86:static/chunks/86-3a20bc6b78835c59.js","93:static/chunks/93-d96460b174626309.js","259:static/chunks/259-2c3490a9eca2f411.js","931:static/chunks/app/page-3c8cf4f6594ea538.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]