@superinterface/server 1.5.0-beta.3 → 1.5.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/eslint/.cache_btwyo7 +1 -1
- package/.next/fallback-build-manifest.json +2 -2
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +1 -1
- package/.next/server/chunks/supercorp_superinterface_bebd2c96._.js +2 -2
- package/.next/server/chunks/supercorp_superinterface_bebd2c96._.js.map +1 -1
- package/.next/server/chunks/supercorp_superinterface_c6d586ec._.js +3 -3
- package/.next/server/chunks/supercorp_superinterface_c6d586ec._.js.map +1 -1
- package/.next/server/chunks/supercorp_superinterface_d30ea151._.js +3 -3
- package/.next/server/chunks/supercorp_superinterface_d30ea151._.js.map +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/trace +1 -1
- package/dist/lib/assistants/assistantClientAdapter/buildGetOpenaiAssistant.d.ts.map +1 -1
- package/dist/lib/assistants/assistantClientAdapter/buildGetOpenaiAssistant.js +14 -4
- package/dist/lib/assistants/storageAssistantId.d.ts.map +1 -1
- package/dist/lib/assistants/storageAssistantId.js +6 -0
- package/dist/lib/runs/createRunOpts.d.ts.map +1 -1
- package/dist/lib/runs/createRunOpts.js +33 -8
- package/package.json +1 -1
- /package/.next/static/{GsOEvvEYbbXesuIjQhKTZ → BKX4hjI8LJrl33c2IEvWq}/_buildManifest.js +0 -0
- /package/.next/static/{GsOEvvEYbbXesuIjQhKTZ → BKX4hjI8LJrl33c2IEvWq}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{GsOEvvEYbbXesuIjQhKTZ → BKX4hjI8LJrl33c2IEvWq}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--BKX4hjI8LJrl33c2IEvWq--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/76a8a50dbf44f000.js"/><script src="/_next/static/chunks/22375ab8b973caf2.js" async=""></script><script src="/_next/static/chunks/f1fd2298c8f33610.js" async=""></script><script src="/_next/static/chunks/turbopack-ecd75a8101638a7b.js" async=""></script><script src="/_next/static/chunks/03d938d038bc30e3.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><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:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/76a8a50dbf44f000.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[96352,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n3:I[17753,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n4:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"OutletBoundary\"]\n6:I[33159,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"AsyncMetadataOutlet\"]\n8:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"ViewportBoundary\"]\na:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"MetadataBoundary\"]\nb:\"$Sreact.suspense\"\nd:I[25098,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"BKX4hjI8LJrl33c2IEvWq\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/03d938d038bc30e3.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1: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:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$L5\",[\"$\",\"$L6\",null,{\"promise\":\"$@7\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],null],[\"$\",\"$La\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"fallback\":null,\"children\":\"$Lc\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,"7:{\"metadata\":[],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"c:\"$7:metadata\"\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/a6dad97d9634a72d.js"></script><script src="/_next/static/chunks/22bca0be24d1dbb3.js" defer=""></script><script src="/_next/static/chunks/3afeabcaad450e6e.js" defer=""></script><script src="/_next/static/chunks/turbopack-77830c375ad53a98.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-cf3460fb5ef0876f.js" defer=""></script><script src="/_next/static/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/a6dad97d9634a72d.js"></script><script src="/_next/static/chunks/22bca0be24d1dbb3.js" defer=""></script><script src="/_next/static/chunks/3afeabcaad450e6e.js" defer=""></script><script src="/_next/static/chunks/turbopack-77830c375ad53a98.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-cf3460fb5ef0876f.js" defer=""></script><script src="/_next/static/BKX4hjI8LJrl33c2IEvWq/_ssgManifest.js" defer=""></script><script src="/_next/static/BKX4hjI8LJrl33c2IEvWq/_buildManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"BKX4hjI8LJrl33c2IEvWq","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":105,"timestamp":1427260177621,"id":4,"parentId":1,"tags":{},"startTime":1767046412973,"traceId":"4919a64e48a916a2"},{"name":"load-custom-routes","duration":144,"timestamp":1427260177769,"id":5,"parentId":1,"tags":{},"startTime":1767046412974,"traceId":"4919a64e48a916a2"},{"name":"create-dist-dir","duration":1267,"timestamp":1427260224762,"id":6,"parentId":1,"tags":{},"startTime":1767046413021,"traceId":"4919a64e48a916a2"},{"name":"create-pages-mapping","duration":111,"timestamp":1427260562614,"id":7,"parentId":1,"tags":{},"startTime":1767046413358,"traceId":"4919a64e48a916a2"},{"name":"collect-app-files","duration":2475,"timestamp":1427260562747,"id":8,"parentId":1,"tags":{},"startTime":1767046413359,"traceId":"4919a64e48a916a2"},{"name":"create-app-mapping","duration":793,"timestamp":1427260565236,"id":9,"parentId":1,"tags":{},"startTime":1767046413361,"traceId":"4919a64e48a916a2"},{"name":"create-app-layouts","duration":162,"timestamp":1427260566042,"id":10,"parentId":1,"tags":{},"startTime":1767046413362,"traceId":"4919a64e48a916a2"},{"name":"collect-default-files","duration":3284,"timestamp":1427260567120,"id":12,"parentId":1,"tags":{},"startTime":1767046413363,"traceId":"4919a64e48a916a2"},{"name":"generate-route-types","duration":16393,"timestamp":1427260566470,"id":11,"parentId":1,"tags":{},"startTime":1767046413362,"traceId":"4919a64e48a916a2"},{"name":"public-dir-conflict-check","duration":424,"timestamp":1427260582936,"id":13,"parentId":1,"tags":{},"startTime":1767046413379,"traceId":"4919a64e48a916a2"},{"name":"generate-routes-manifest","duration":1238,"timestamp":1427260583467,"id":14,"parentId":1,"tags":{},"startTime":1767046413379,"traceId":"4919a64e48a916a2"},{"name":"run-turbopack-compiler","duration":10787137,"timestamp":1427260589884,"id":16,"parentId":1,"tags":{},"startTime":1767046413386,"traceId":"4919a64e48a916a2"},{"name":"verify-and-lint","duration":2233219,"timestamp":1427271420746,"id":19,"parentId":1,"tags":{},"startTime":1767046424217,"traceId":"4919a64e48a916a2"},{"name":"verify-typescript-setup","duration":6758797,"timestamp":1427271416597,"id":18,"parentId":1,"tags":{},"startTime":1767046424212,"traceId":"4919a64e48a916a2"},{"name":"check-static-error-page","duration":3451,"timestamp":1427278200941,"id":22,"parentId":21,"tags":{},"startTime":1767046430997,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":2348,"timestamp":1427278275892,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1767046431072,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":1606,"timestamp":1427278276644,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1767046431072,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":1683,"timestamp":1427278276569,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1767046431072,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":421238,"timestamp":1427278292510,"id":54,"parentId":45,"tags":{},"startTime":1767046431088,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":436845,"timestamp":1427278276978,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":423086,"timestamp":1427278291842,"id":50,"parentId":28,"tags":{},"startTime":1767046431088,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":438170,"timestamp":1427278276779,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":449230,"timestamp":1427278292478,"id":53,"parentId":42,"tags":{},"startTime":1767046431088,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":464776,"timestamp":1427278276961,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":466570,"timestamp":1427278292366,"id":51,"parentId":30,"tags":{},"startTime":1767046431088,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":482171,"timestamp":1427278276796,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":483514,"timestamp":1427278292402,"id":52,"parentId":33,"tags":{},"startTime":1767046431088,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":499143,"timestamp":1427278276897,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":485507,"timestamp":1427278292601,"id":55,"parentId":31,"tags":{},"startTime":1767046431088,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":501343,"timestamp":1427278276808,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":499369,"timestamp":1427278292673,"id":56,"parentId":35,"tags":{},"startTime":1767046431088,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":515155,"timestamp":1427278276913,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":504790,"timestamp":1427278303409,"id":62,"parentId":26,"tags":{},"startTime":1767046431099,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":531561,"timestamp":1427278276662,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1767046431072,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":493274,"timestamp":1427278319806,"id":64,"parentId":27,"tags":{},"startTime":1767046431116,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":536343,"timestamp":1427278276764,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":504839,"timestamp":1427278319926,"id":65,"parentId":29,"tags":{},"startTime":1767046431116,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":548019,"timestamp":1427278276787,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":510415,"timestamp":1427278319943,"id":66,"parentId":32,"tags":{},"startTime":1767046431116,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":553506,"timestamp":1427278276881,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":514158,"timestamp":1427278319946,"id":67,"parentId":34,"tags":{},"startTime":1767046431116,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":557251,"timestamp":1427278276906,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":519939,"timestamp":1427278319948,"id":68,"parentId":41,"tags":{},"startTime":1767046431116,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":562969,"timestamp":1427278276956,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":543330,"timestamp":1427278319950,"id":69,"parentId":43,"tags":{},"startTime":1767046431116,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":586354,"timestamp":1427278276967,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":575465,"timestamp":1427278319994,"id":70,"parentId":46,"tags":{},"startTime":1767046431116,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":618503,"timestamp":1427278276983,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":582344,"timestamp":1427278320038,"id":71,"parentId":47,"tags":{},"startTime":1767046431116,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":625427,"timestamp":1427278276990,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":591663,"timestamp":1427278320083,"id":72,"parentId":48,"tags":{},"startTime":1767046431116,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":634803,"timestamp":1427278276995,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":593397,"timestamp":1427278329300,"id":73,"parentId":49,"tags":{},"startTime":1767046431125,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":645761,"timestamp":1427278277000,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":858371,"timestamp":1427278292996,"id":59,"parentId":40,"tags":{},"startTime":1767046431089,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":874446,"timestamp":1427278276949,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":870413,"timestamp":1427278293053,"id":60,"parentId":37,"tags":{},"startTime":1767046431089,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":886572,"timestamp":1427278276924,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":890870,"timestamp":1427278292987,"id":58,"parentId":39,"tags":{},"startTime":1767046431089,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":906951,"timestamp":1427278276944,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":929206,"timestamp":1427278292977,"id":57,"parentId":36,"tags":{},"startTime":1767046431089,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":945293,"timestamp":1427278276919,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":964064,"timestamp":1427278303322,"id":61,"parentId":38,"tags":{},"startTime":1767046431099,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":990492,"timestamp":1427278276929,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"is-page-static","duration":965645,"timestamp":1427278319565,"id":63,"parentId":44,"tags":{},"startTime":1767046431115,"traceId":"4919a64e48a916a2"},{"name":"check-page","duration":1008269,"timestamp":1427278276972,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1767046431073,"traceId":"4919a64e48a916a2"},{"name":"static-check","duration":1087727,"timestamp":1427278197551,"id":21,"parentId":1,"tags":{},"startTime":1767046430993,"traceId":"4919a64e48a916a2"},{"name":"generate-required-server-files","duration":284,"timestamp":1427279285571,"id":75,"parentId":1,"tags":{},"startTime":1767046432081,"traceId":"4919a64e48a916a2"},{"name":"write-routes-manifest","duration":3093,"timestamp":1427279311126,"id":77,"parentId":1,"tags":{},"startTime":1767046432107,"traceId":"4919a64e48a916a2"},{"name":"load-dotenv","duration":18,"timestamp":1427279332187,"id":80,"parentId":79,"tags":{},"startTime":1767046432128,"traceId":"4919a64e48a916a2"},{"name":"run-export-path-map","duration":289,"timestamp":1427279506401,"id":81,"parentId":79,"tags":{},"startTime":1767046432302,"traceId":"4919a64e48a916a2"},{"name":"next-export","duration":1793319,"timestamp":1427279331507,"id":79,"parentId":1,"tags":{},"startTime":1767046432127,"traceId":"4919a64e48a916a2"},{"name":"move-exported-app-not-found-","duration":4974,"timestamp":1427281126043,"id":82,"parentId":78,"tags":{},"startTime":1767046433922,"traceId":"4919a64e48a916a2"},{"name":"move-exported-page","duration":96516,"timestamp":1427281131154,"id":83,"parentId":78,"tags":{},"startTime":1767046433927,"traceId":"4919a64e48a916a2"},{"name":"static-generation","duration":2383143,"timestamp":1427279324730,"id":78,"parentId":1,"tags":{},"startTime":1767046432121,"traceId":"4919a64e48a916a2"},{"name":"write-routes-manifest","duration":33997,"timestamp":1427281708250,"id":84,"parentId":1,"tags":{},"startTime":1767046434504,"traceId":"4919a64e48a916a2"},{"name":"node-file-trace-build","duration":4356799,"timestamp":1427279298592,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1767046432094,"traceId":"4919a64e48a916a2"},{"name":"apply-include-excludes","duration":337,"timestamp":1427283655414,"id":85,"parentId":1,"tags":{},"startTime":1767046436451,"traceId":"4919a64e48a916a2"},{"name":"print-tree-view","duration":1975,"timestamp":1427283656243,"id":86,"parentId":1,"tags":{},"startTime":1767046436452,"traceId":"4919a64e48a916a2"},{"name":"telemetry-flush","duration":24,"timestamp":1427283658226,"id":87,"parentId":1,"tags":{},"startTime":1767046436454,"traceId":"4919a64e48a916a2"},{"name":"next-build","duration":23724132,"timestamp":1427259934121,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.9","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1767046412730,"traceId":"4919a64e48a916a2"}]
|
|
1
|
+
[{"name":"generate-buildid","duration":116,"timestamp":1530127452989,"id":4,"parentId":1,"tags":{},"startTime":1767149280527,"traceId":"a27644321b15027d"},{"name":"load-custom-routes","duration":161,"timestamp":1530127453150,"id":5,"parentId":1,"tags":{},"startTime":1767149280527,"traceId":"a27644321b15027d"},{"name":"create-dist-dir","duration":709,"timestamp":1530127499366,"id":6,"parentId":1,"tags":{},"startTime":1767149280574,"traceId":"a27644321b15027d"},{"name":"create-pages-mapping","duration":443,"timestamp":1530127906887,"id":7,"parentId":1,"tags":{},"startTime":1767149280981,"traceId":"a27644321b15027d"},{"name":"collect-app-files","duration":5642,"timestamp":1530127907397,"id":8,"parentId":1,"tags":{},"startTime":1767149280982,"traceId":"a27644321b15027d"},{"name":"create-app-mapping","duration":2705,"timestamp":1530127913064,"id":9,"parentId":1,"tags":{},"startTime":1767149280987,"traceId":"a27644321b15027d"},{"name":"create-app-layouts","duration":452,"timestamp":1530127915825,"id":10,"parentId":1,"tags":{},"startTime":1767149280990,"traceId":"a27644321b15027d"},{"name":"collect-default-files","duration":2997,"timestamp":1530127917466,"id":12,"parentId":1,"tags":{},"startTime":1767149280992,"traceId":"a27644321b15027d"},{"name":"generate-route-types","duration":29918,"timestamp":1530127916660,"id":11,"parentId":1,"tags":{},"startTime":1767149280991,"traceId":"a27644321b15027d"},{"name":"public-dir-conflict-check","duration":1927,"timestamp":1530127946784,"id":13,"parentId":1,"tags":{},"startTime":1767149281021,"traceId":"a27644321b15027d"},{"name":"generate-routes-manifest","duration":1393,"timestamp":1530127948961,"id":14,"parentId":1,"tags":{},"startTime":1767149281023,"traceId":"a27644321b15027d"},{"name":"run-turbopack-compiler","duration":13306093,"timestamp":1530127971103,"id":16,"parentId":1,"tags":{},"startTime":1767149281045,"traceId":"a27644321b15027d"},{"name":"verify-and-lint","duration":1889179,"timestamp":1530141421417,"id":19,"parentId":1,"tags":{},"startTime":1767149294496,"traceId":"a27644321b15027d"},{"name":"verify-typescript-setup","duration":8687108,"timestamp":1530141412977,"id":18,"parentId":1,"tags":{},"startTime":1767149294487,"traceId":"a27644321b15027d"},{"name":"check-static-error-page","duration":21938,"timestamp":1530150177925,"id":22,"parentId":21,"tags":{},"startTime":1767149303252,"traceId":"a27644321b15027d"},{"name":"check-page","duration":23403,"timestamp":1530150308949,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1767149303383,"traceId":"a27644321b15027d"},{"name":"check-page","duration":18459,"timestamp":1530150313919,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1767149303388,"traceId":"a27644321b15027d"},{"name":"check-page","duration":18639,"timestamp":1530150313742,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1767149303388,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1281113,"timestamp":1530150372312,"id":51,"parentId":35,"tags":{},"startTime":1767149303447,"traceId":"a27644321b15027d"},{"name":"check-page","duration":1335145,"timestamp":1530150318424,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1817091,"timestamp":1530150371831,"id":50,"parentId":31,"tags":{},"startTime":1767149303446,"traceId":"a27644321b15027d"},{"name":"check-page","duration":1870608,"timestamp":1530150318377,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1753484,"timestamp":1530150472588,"id":58,"parentId":46,"tags":{},"startTime":1767149303547,"traceId":"a27644321b15027d"},{"name":"check-page","duration":1907640,"timestamp":1530150318494,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1803955,"timestamp":1530150472728,"id":59,"parentId":48,"tags":{},"startTime":1767149303547,"traceId":"a27644321b15027d"},{"name":"check-page","duration":1958256,"timestamp":1530150318506,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1913839,"timestamp":1530150372668,"id":54,"parentId":39,"tags":{},"startTime":1767149303447,"traceId":"a27644321b15027d"},{"name":"check-page","duration":1968153,"timestamp":1530150318448,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1973536,"timestamp":1530150372690,"id":55,"parentId":40,"tags":{},"startTime":1767149303447,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2027857,"timestamp":1530150318453,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1875314,"timestamp":1530150472790,"id":60,"parentId":47,"tags":{},"startTime":1767149303547,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2029656,"timestamp":1530150318499,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1929655,"timestamp":1530150472960,"id":63,"parentId":33,"tags":{},"startTime":1767149303547,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2084329,"timestamp":1530150318408,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1948532,"timestamp":1530150472962,"id":64,"parentId":42,"tags":{},"startTime":1767149303547,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2103056,"timestamp":1530150318465,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1978257,"timestamp":1530150472860,"id":61,"parentId":26,"tags":{},"startTime":1767149303547,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2137215,"timestamp":1530150313939,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1767149303388,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":1978246,"timestamp":1530150472957,"id":62,"parentId":30,"tags":{},"startTime":1767149303547,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2132937,"timestamp":1530150318276,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2088218,"timestamp":1530150372406,"id":52,"parentId":37,"tags":{},"startTime":1767149303447,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2142263,"timestamp":1530150318437,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2010949,"timestamp":1530150473020,"id":65,"parentId":45,"tags":{},"startTime":1767149303547,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2165515,"timestamp":1530150318488,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2011012,"timestamp":1530150473072,"id":66,"parentId":28,"tags":{},"startTime":1767149303548,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2165846,"timestamp":1530150318255,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2016712,"timestamp":1530150473206,"id":67,"parentId":27,"tags":{},"startTime":1767149303548,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2171767,"timestamp":1530150318184,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2023484,"timestamp":1530150473211,"id":69,"parentId":32,"tags":{},"startTime":1767149303548,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2178354,"timestamp":1530150318392,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2125149,"timestamp":1530150372633,"id":53,"parentId":36,"tags":{},"startTime":1767149303447,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2179377,"timestamp":1530150318430,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2041548,"timestamp":1530150473217,"id":71,"parentId":41,"tags":{},"startTime":1767149303548,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2196358,"timestamp":1530150318460,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2041666,"timestamp":1530150473213,"id":70,"parentId":34,"tags":{},"startTime":1767149303548,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2196476,"timestamp":1530150318416,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2046101,"timestamp":1530150473219,"id":72,"parentId":43,"tags":{},"startTime":1767149303548,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2201007,"timestamp":1530150318469,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2073917,"timestamp":1530150473209,"id":68,"parentId":29,"tags":{},"startTime":1767149303548,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2228891,"timestamp":1530150318266,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2061636,"timestamp":1530150485554,"id":73,"parentId":49,"tags":{},"startTime":1767149303560,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2228687,"timestamp":1530150318510,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2214633,"timestamp":1530150413057,"id":56,"parentId":38,"tags":{},"startTime":1767149303488,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2309282,"timestamp":1530150318442,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"is-page-static","duration":2300349,"timestamp":1530150472309,"id":57,"parentId":44,"tags":{},"startTime":1767149303547,"traceId":"a27644321b15027d"},{"name":"check-page","duration":2454239,"timestamp":1530150318483,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1767149303393,"traceId":"a27644321b15027d"},{"name":"static-check","duration":2599490,"timestamp":1530150173394,"id":21,"parentId":1,"tags":{},"startTime":1767149303248,"traceId":"a27644321b15027d"},{"name":"generate-required-server-files","duration":9299,"timestamp":1530152778342,"id":75,"parentId":1,"tags":{},"startTime":1767149305853,"traceId":"a27644321b15027d"},{"name":"write-routes-manifest","duration":6354,"timestamp":1530153083102,"id":77,"parentId":1,"tags":{},"startTime":1767149306158,"traceId":"a27644321b15027d"},{"name":"load-dotenv","duration":104,"timestamp":1530154069430,"id":80,"parentId":79,"tags":{},"startTime":1767149307144,"traceId":"a27644321b15027d"},{"name":"run-export-path-map","duration":366,"timestamp":1530154118756,"id":81,"parentId":79,"tags":{},"startTime":1767149307193,"traceId":"a27644321b15027d"},{"name":"next-export","duration":1159812,"timestamp":1530154063860,"id":79,"parentId":1,"tags":{},"startTime":1767149307138,"traceId":"a27644321b15027d"},{"name":"move-exported-app-not-found-","duration":5374,"timestamp":1530155224954,"id":82,"parentId":78,"tags":{},"startTime":1767149308300,"traceId":"a27644321b15027d"},{"name":"move-exported-page","duration":16978,"timestamp":1530155230473,"id":83,"parentId":78,"tags":{},"startTime":1767149308305,"traceId":"a27644321b15027d"},{"name":"static-generation","duration":1825352,"timestamp":1530154043730,"id":78,"parentId":1,"tags":{},"startTime":1767149307118,"traceId":"a27644321b15027d"},{"name":"write-routes-manifest","duration":71381,"timestamp":1530155869326,"id":84,"parentId":1,"tags":{},"startTime":1767149308944,"traceId":"a27644321b15027d"},{"name":"node-file-trace-build","duration":5057550,"timestamp":1530152970902,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1767149306045,"traceId":"a27644321b15027d"},{"name":"apply-include-excludes","duration":391,"timestamp":1530158028492,"id":85,"parentId":1,"tags":{},"startTime":1767149311103,"traceId":"a27644321b15027d"},{"name":"print-tree-view","duration":3689,"timestamp":1530158029308,"id":86,"parentId":1,"tags":{},"startTime":1767149311104,"traceId":"a27644321b15027d"},{"name":"telemetry-flush","duration":44,"timestamp":1530158033008,"id":87,"parentId":1,"tags":{},"startTime":1767149311108,"traceId":"a27644321b15027d"},{"name":"next-build","duration":30819208,"timestamp":1530127213847,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.9","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1767149280288,"traceId":"a27644321b15027d"}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildGetOpenaiAssistant.d.ts","sourceRoot":"","sources":["../../../../src/lib/assistants/assistantClientAdapter/buildGetOpenaiAssistant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EACL,MAAM,EACN,MAAM,EAGN,YAAY,
|
|
1
|
+
{"version":3,"file":"buildGetOpenaiAssistant.d.ts","sourceRoot":"","sources":["../../../../src/lib/assistants/assistantClientAdapter/buildGetOpenaiAssistant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EACL,MAAM,EACN,MAAM,EAGN,YAAY,EAEb,MAAM,gBAAgB,CAAA;AAKvB,KAAK,IAAI,GAAG;IACV,MAAM,CAAC,EAAE;QACP,EAAE,CAAC,EAAE,OAAO,CAAA;KACb,CAAA;CACF,CAAA;AAyCD,eAAO,MAAM,uBAAuB,GACjC,gCAIE;IACD,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QACpC,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,OAAO,EAAE;oBACP,cAAc,EAAE,IAAI,CAAA;oBACpB,aAAa,EAAE,IAAI,CAAA;oBACnB,mBAAmB,EAAE,IAAI,CAAA;oBACzB,mBAAmB,EAAE,IAAI,CAAA;oBACzB,eAAe,EAAE,IAAI,CAAA;iBACtB,CAAA;aACF,CAAA;YACD,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,eAAe,EAAE,IAAI,CAAA;oBACrB,cAAc,EAAE,IAAI,CAAA;oBACpB,YAAY,EAAE,IAAI,CAAA;oBAClB,aAAa,EAAE,IAAI,CAAA;iBACpB,CAAA;aACF,CAAA;YACD,SAAS,EAAE,IAAI,CAAA;YACf,aAAa,EAAE,IAAI,CAAA;SACpB,CAAA;KACF,CAAC,CAAA;IACF,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,MAAM,EAAE,YAAY,CAAA;CACrB,MACM,qBAAiC,IAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BhD,CAAA"}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import { TruncationType, } from '@prisma/client';
|
|
1
|
+
import { TruncationType, StorageProviderType, } from '@prisma/client';
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
3
|
import { tools as getTools } from '../../../lib/tools/tools';
|
|
4
|
+
import { storageAssistantId } from '../../../lib/assistants/storageAssistantId';
|
|
5
|
+
const assistantReference = ({ assistant }) => {
|
|
6
|
+
const id = storageAssistantId({ assistant });
|
|
7
|
+
const name = assistant.storageProviderType === StorageProviderType.AZURE_OPENAI_RESPONSES &&
|
|
8
|
+
assistant.azureAgentsAgentId
|
|
9
|
+
? id
|
|
10
|
+
: assistant.name;
|
|
11
|
+
return { id, name };
|
|
12
|
+
};
|
|
4
13
|
const truncationStrategy = ({ assistant, }) => {
|
|
5
14
|
if (assistant.truncationType === TruncationType.LAST_MESSAGES) {
|
|
6
15
|
return {
|
|
@@ -23,17 +32,18 @@ const truncationStrategy = ({ assistant, }) => {
|
|
|
23
32
|
export const buildGetOpenaiAssistant = ({ assistant, thread, prisma, }) => async ({ select: { id = false } = {} } = {}) => {
|
|
24
33
|
var _a, _b;
|
|
25
34
|
const args = { select: { id } };
|
|
35
|
+
const reference = assistantReference({ assistant });
|
|
26
36
|
if (args.select.id) {
|
|
27
37
|
return {
|
|
28
|
-
id:
|
|
38
|
+
id: reference.id,
|
|
29
39
|
};
|
|
30
40
|
}
|
|
31
41
|
return {
|
|
32
|
-
id:
|
|
42
|
+
id: reference.id,
|
|
33
43
|
object: 'assistant',
|
|
34
44
|
created_at: dayjs().unix(),
|
|
35
45
|
model: assistant.modelSlug,
|
|
36
|
-
name:
|
|
46
|
+
name: reference.name,
|
|
37
47
|
instructions: assistant.instructions,
|
|
38
48
|
description: null,
|
|
39
49
|
tools: thread
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageAssistantId.d.ts","sourceRoot":"","sources":["../../../src/lib/assistants/storageAssistantId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,gBAAgB,CAAA;AAK/D,eAAO,MAAM,kBAAkB,GAAI,eAAe;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"storageAssistantId.d.ts","sourceRoot":"","sources":["../../../src/lib/assistants/storageAssistantId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,gBAAgB,CAAA;AAK/D,eAAO,MAAM,kBAAkB,GAAI,eAAe;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,WAwCzE,CAAA"}
|
|
@@ -11,6 +11,12 @@ export const storageAssistantId = ({ assistant }) => {
|
|
|
11
11
|
if (isResponsesStorageProvider({
|
|
12
12
|
storageProviderType: assistant.storageProviderType,
|
|
13
13
|
})) {
|
|
14
|
+
// For Azure Responses API with agent references, use the agent ID
|
|
15
|
+
if (assistant.storageProviderType === StorageProviderType.AZURE_OPENAI_RESPONSES &&
|
|
16
|
+
assistant.azureAgentsAgentId) {
|
|
17
|
+
return assistant.azureAgentsAgentId;
|
|
18
|
+
}
|
|
19
|
+
// For OpenAI Responses or Azure Responses without agent reference, use internal ID
|
|
14
20
|
return assistant.id;
|
|
15
21
|
}
|
|
16
22
|
if (assistant.storageProviderType === StorageProviderType.SUPERINTERFACE_CLOUD) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createRunOpts.d.ts","sourceRoot":"","sources":["../../../src/lib/runs/createRunOpts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EACL,MAAM,EACN,MAAM,EAGN,YAAY,
|
|
1
|
+
{"version":3,"file":"createRunOpts.d.ts","sourceRoot":"","sources":["../../../src/lib/runs/createRunOpts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EACL,MAAM,EACN,MAAM,EAGN,YAAY,EAEb,MAAM,gBAAgB,CAAA;AAsDvB,eAAO,MAAM,aAAa,GAAU,gCAIjC;IACD,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QACpC,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,OAAO,EAAE;oBACP,cAAc,EAAE,IAAI,CAAA;oBACpB,aAAa,EAAE,IAAI,CAAA;oBACnB,mBAAmB,EAAE,IAAI,CAAA;oBACzB,mBAAmB,EAAE,IAAI,CAAA;oBACzB,eAAe,EAAE,IAAI,CAAA;iBACtB,CAAA;aACF,CAAA;YACD,SAAS,EAAE,IAAI,CAAA;YACf,aAAa,EAAE,IAAI,CAAA;YACnB,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,eAAe,EAAE,IAAI,CAAA;oBACrB,cAAc,EAAE,IAAI,CAAA;oBACpB,aAAa,EAAE,IAAI,CAAA;oBACnB,YAAY,EAAE,IAAI,CAAA;iBACnB,CAAA;aACF,CAAA;SACF,CAAA;KACF,CAAC,CAAA;IACF,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,YAAY,CAAA;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBA,CAAA"}
|
|
@@ -1,21 +1,32 @@
|
|
|
1
|
-
import { TruncationType, } from '@prisma/client';
|
|
1
|
+
import { TruncationType, StorageProviderType, } from '@prisma/client';
|
|
2
2
|
import { storageAssistantId } from '../../lib/assistants/storageAssistantId';
|
|
3
3
|
import { tools } from '../../lib/tools/tools';
|
|
4
4
|
import { isOpenaiAssistantsStorageProvider } from '../../lib/storageProviders/isOpenaiAssistantsStorageProvider';
|
|
5
|
+
import { isAzureAgentsStorageProvider } from '../../lib/storageProviders/isAzureAgentsStorageProvider';
|
|
5
6
|
const instructions = ({ assistant }) => {
|
|
6
7
|
if (assistant.instructions.length > 0) {
|
|
7
8
|
return {
|
|
8
9
|
instructions: assistant.instructions,
|
|
9
10
|
};
|
|
10
11
|
}
|
|
11
|
-
|
|
12
|
+
// For storage providers that have their own stored instructions
|
|
13
|
+
// (OpenAI Assistants, Azure Agents, Azure Responses API), omit the field entirely
|
|
14
|
+
// so the provider uses the stored instructions
|
|
15
|
+
const hasStoredInstructions = isOpenaiAssistantsStorageProvider({
|
|
12
16
|
storageProviderType: assistant.storageProviderType,
|
|
13
|
-
})
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
+
}) ||
|
|
18
|
+
isAzureAgentsStorageProvider({
|
|
19
|
+
storageProviderType: assistant.storageProviderType,
|
|
20
|
+
}) ||
|
|
21
|
+
assistant.storageProviderType === StorageProviderType.AZURE_OPENAI_RESPONSES;
|
|
22
|
+
if (hasStoredInstructions) {
|
|
23
|
+
return {};
|
|
17
24
|
}
|
|
18
|
-
|
|
25
|
+
// For other storage providers (like SUPERINTERFACE_CLOUD or OPENAI_RESPONSES),
|
|
26
|
+
// send empty string as they don't have stored instructions
|
|
27
|
+
return {
|
|
28
|
+
instructions: '',
|
|
29
|
+
};
|
|
19
30
|
};
|
|
20
31
|
const truncationStrategy = ({ assistant }) => {
|
|
21
32
|
if (assistant.truncationType === TruncationType.LAST_MESSAGES) {
|
|
@@ -36,4 +47,18 @@ const truncationStrategy = ({ assistant }) => {
|
|
|
36
47
|
};
|
|
37
48
|
}
|
|
38
49
|
};
|
|
39
|
-
export const createRunOpts = async ({ assistant, thread, prisma, }) =>
|
|
50
|
+
export const createRunOpts = async ({ assistant, thread, prisma, }) => {
|
|
51
|
+
const runOpts = Object.assign(Object.assign(Object.assign({ stream: true, assistant_id: storageAssistantId({ assistant }) }, instructions({ assistant })), { model: assistant.modelSlug, truncation_strategy: truncationStrategy({ assistant }) }), (await tools({ assistant, thread, prisma })));
|
|
52
|
+
// Debug logging for Azure Responses
|
|
53
|
+
if (assistant.storageProviderType === 'AZURE_OPENAI_RESPONSES') {
|
|
54
|
+
console.log('[DEBUG createRunOpts] Azure Responses run options:', JSON.stringify({
|
|
55
|
+
assistant_id: runOpts.assistant_id,
|
|
56
|
+
hasInstructions: 'instructions' in runOpts,
|
|
57
|
+
instructions: runOpts.instructions,
|
|
58
|
+
model: runOpts.model,
|
|
59
|
+
storageProviderType: assistant.storageProviderType,
|
|
60
|
+
azureAgentsAgentId: assistant.azureAgentsAgentId,
|
|
61
|
+
}, null, 2));
|
|
62
|
+
}
|
|
63
|
+
return runOpts;
|
|
64
|
+
};
|
package/package.json
CHANGED
|
File without changes
|
/package/.next/static/{GsOEvvEYbbXesuIjQhKTZ → BKX4hjI8LJrl33c2IEvWq}/_clientMiddlewareManifest.json
RENAMED
|
File without changes
|
|
File without changes
|