@superinterface/server 1.0.29 → 1.0.31
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/c4f00_next_dist_esm_build_templates_app-route_f952d9ab.js +1 -1
- package/.next/server/chunks/c4f00_next_dist_esm_build_templates_app-route_f952d9ab.js.map +1 -1
- package/.next/server/chunks/supercorp_superinterface_bebd2c96._.js +1 -1
- package/.next/server/chunks/supercorp_superinterface_bebd2c96._.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/app/api/messages/buildRoute.js +1 -1
- package/dist/lib/functions/functionSchema.d.ts +14 -14
- package/dist/lib/functions/handleFunction/getFunction.d.ts +1 -1
- package/dist/lib/tools/tools/index.d.ts.map +1 -1
- package/dist/lib/tools/tools/index.js +2 -0
- package/package.json +1 -1
- package/prisma/ImageGenerationTool.prisma +2 -0
- package/prisma/enums/ImageGenerationToolBackground.prisma +5 -0
- package/prisma/migrations/20251011022103_add_image_generation_tool_model/migration.sql +2 -0
- package/prisma/migrations/20251011023713_add_image_generation_tool_background/migration.sql +5 -0
- /package/.next/static/{JgqHYjNUW4twUoiJwNTCD → SAz3Y3qRZpSW_GEkZI_oP}/_buildManifest.js +0 -0
- /package/.next/static/{JgqHYjNUW4twUoiJwNTCD → SAz3Y3qRZpSW_GEkZI_oP}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{JgqHYjNUW4twUoiJwNTCD → SAz3Y3qRZpSW_GEkZI_oP}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--SAz3Y3qRZpSW_GEkZI_oP--><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/079ce3572ffa07f6.js" async=""></script><script src="/_next/static/chunks/4649e58e35bcde4b.js" async=""></script><script src="/_next/static/chunks/turbopack-11882cf18a9eb231.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\":\"SAz3Y3qRZpSW_GEkZI_oP\",\"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/bd1a5816a611d718.js" defer=""></script><script src="/_next/static/chunks/turbopack-3bdbb570d8566903.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-67ff8c1c5b1ad9a8.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/bd1a5816a611d718.js" defer=""></script><script src="/_next/static/chunks/turbopack-3bdbb570d8566903.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-67ff8c1c5b1ad9a8.js" defer=""></script><script src="/_next/static/SAz3Y3qRZpSW_GEkZI_oP/_ssgManifest.js" defer=""></script><script src="/_next/static/SAz3Y3qRZpSW_GEkZI_oP/_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":"SAz3Y3qRZpSW_GEkZI_oP","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":237,"timestamp":256363380539,"id":4,"parentId":1,"tags":{},"startTime":1760147876643,"traceId":"448b282766ba636b"},{"name":"load-custom-routes","duration":194,"timestamp":256363380823,"id":5,"parentId":1,"tags":{},"startTime":1760147876644,"traceId":"448b282766ba636b"},{"name":"create-dist-dir","duration":709,"timestamp":256363456246,"id":6,"parentId":1,"tags":{},"startTime":1760147876719,"traceId":"448b282766ba636b"},{"name":"create-pages-mapping","duration":137,"timestamp":256363650675,"id":7,"parentId":1,"tags":{},"startTime":1760147876913,"traceId":"448b282766ba636b"},{"name":"collect-app-files","duration":2391,"timestamp":256363650835,"id":8,"parentId":1,"tags":{},"startTime":1760147876914,"traceId":"448b282766ba636b"},{"name":"create-app-mapping","duration":754,"timestamp":256363653240,"id":9,"parentId":1,"tags":{},"startTime":1760147876916,"traceId":"448b282766ba636b"},{"name":"create-app-layouts","duration":166,"timestamp":256363654007,"id":10,"parentId":1,"tags":{},"startTime":1760147876917,"traceId":"448b282766ba636b"},{"name":"collect-default-files","duration":921,"timestamp":256363654971,"id":12,"parentId":1,"tags":{},"startTime":1760147876918,"traceId":"448b282766ba636b"},{"name":"generate-route-types","duration":14088,"timestamp":256363654449,"id":11,"parentId":1,"tags":{},"startTime":1760147876917,"traceId":"448b282766ba636b"},{"name":"public-dir-conflict-check","duration":325,"timestamp":256363668574,"id":13,"parentId":1,"tags":{},"startTime":1760147876931,"traceId":"448b282766ba636b"},{"name":"generate-routes-manifest","duration":1301,"timestamp":256363669008,"id":14,"parentId":1,"tags":{},"startTime":1760147876932,"traceId":"448b282766ba636b"},{"name":"run-turbopack-compiler","duration":7605299,"timestamp":256363674835,"id":16,"parentId":1,"tags":{},"startTime":1760147876938,"traceId":"448b282766ba636b"},{"name":"verify-and-lint","duration":2999991,"timestamp":256371306139,"id":19,"parentId":1,"tags":{},"startTime":1760147884569,"traceId":"448b282766ba636b"},{"name":"verify-typescript-setup","duration":7240785,"timestamp":256371303907,"id":18,"parentId":1,"tags":{},"startTime":1760147884567,"traceId":"448b282766ba636b"},{"name":"check-static-error-page","duration":2709,"timestamp":256378560055,"id":22,"parentId":21,"tags":{},"startTime":1760147891823,"traceId":"448b282766ba636b"},{"name":"check-page","duration":4549,"timestamp":256378591407,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1760147891854,"traceId":"448b282766ba636b"},{"name":"check-page","duration":3849,"timestamp":256378592122,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1760147891855,"traceId":"448b282766ba636b"},{"name":"check-page","duration":3921,"timestamp":256378592051,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1760147891855,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":251937,"timestamp":256378611703,"id":50,"parentId":26,"tags":{},"startTime":1760147891875,"traceId":"448b282766ba636b"},{"name":"check-page","duration":271619,"timestamp":256378592141,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1760147891855,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":277050,"timestamp":256378616172,"id":53,"parentId":42,"tags":{},"startTime":1760147891879,"traceId":"448b282766ba636b"},{"name":"check-page","duration":299674,"timestamp":256378593596,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":298124,"timestamp":256378616205,"id":54,"parentId":45,"tags":{},"startTime":1760147891879,"traceId":"448b282766ba636b"},{"name":"check-page","duration":320747,"timestamp":256378593622,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":300448,"timestamp":256378616011,"id":51,"parentId":30,"tags":{},"startTime":1760147891879,"traceId":"448b282766ba636b"},{"name":"check-page","duration":323861,"timestamp":256378592648,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":303235,"timestamp":256378616089,"id":52,"parentId":33,"tags":{},"startTime":1760147891879,"traceId":"448b282766ba636b"},{"name":"check-page","duration":326583,"timestamp":256378592937,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":316011,"timestamp":256378616694,"id":58,"parentId":34,"tags":{},"startTime":1760147891880,"traceId":"448b282766ba636b"},{"name":"check-page","duration":339765,"timestamp":256378592967,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":316108,"timestamp":256378616702,"id":59,"parentId":41,"tags":{},"startTime":1760147891880,"traceId":"448b282766ba636b"},{"name":"check-page","duration":339227,"timestamp":256378593589,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":322542,"timestamp":256378616686,"id":57,"parentId":32,"tags":{},"startTime":1760147891880,"traceId":"448b282766ba636b"},{"name":"check-page","duration":346379,"timestamp":256378592902,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":326276,"timestamp":256378616657,"id":55,"parentId":27,"tags":{},"startTime":1760147891880,"traceId":"448b282766ba636b"},{"name":"check-page","duration":350486,"timestamp":256378592472,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1760147891855,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":330405,"timestamp":256378616714,"id":60,"parentId":43,"tags":{},"startTime":1760147891880,"traceId":"448b282766ba636b"},{"name":"check-page","duration":353540,"timestamp":256378593605,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":333629,"timestamp":256378616674,"id":56,"parentId":29,"tags":{},"startTime":1760147891880,"traceId":"448b282766ba636b"},{"name":"check-page","duration":357715,"timestamp":256378592613,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":332176,"timestamp":256378625672,"id":67,"parentId":47,"tags":{},"startTime":1760147891889,"traceId":"448b282766ba636b"},{"name":"check-page","duration":364239,"timestamp":256378593636,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":338676,"timestamp":256378625420,"id":66,"parentId":46,"tags":{},"startTime":1760147891888,"traceId":"448b282766ba636b"},{"name":"check-page","duration":370521,"timestamp":256378593627,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":345455,"timestamp":256378625809,"id":68,"parentId":48,"tags":{},"startTime":1760147891889,"traceId":"448b282766ba636b"},{"name":"check-page","duration":377658,"timestamp":256378593641,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":349284,"timestamp":256378626961,"id":69,"parentId":35,"tags":{},"startTime":1760147891890,"traceId":"448b282766ba636b"},{"name":"check-page","duration":383305,"timestamp":256378592988,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":352969,"timestamp":256378627819,"id":71,"parentId":31,"tags":{},"startTime":1760147891891,"traceId":"448b282766ba636b"},{"name":"check-page","duration":387981,"timestamp":256378592856,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":362499,"timestamp":256378627912,"id":72,"parentId":28,"tags":{},"startTime":1760147891891,"traceId":"448b282766ba636b"},{"name":"check-page","duration":397858,"timestamp":256378592584,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":399281,"timestamp":256378635679,"id":73,"parentId":49,"tags":{},"startTime":1760147891899,"traceId":"448b282766ba636b"},{"name":"check-page","duration":441337,"timestamp":256378593646,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":495863,"timestamp":256378616803,"id":61,"parentId":39,"tags":{},"startTime":1760147891880,"traceId":"448b282766ba636b"},{"name":"check-page","duration":519247,"timestamp":256378593497,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":496006,"timestamp":256378616810,"id":62,"parentId":40,"tags":{},"startTime":1760147891880,"traceId":"448b282766ba636b"},{"name":"check-page","duration":519494,"timestamp":256378593575,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":537488,"timestamp":256378616813,"id":63,"parentId":36,"tags":{},"startTime":1760147891880,"traceId":"448b282766ba636b"},{"name":"check-page","duration":561318,"timestamp":256378593014,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":555274,"timestamp":256378627312,"id":70,"parentId":37,"tags":{},"startTime":1760147891890,"traceId":"448b282766ba636b"},{"name":"check-page","duration":589585,"timestamp":256378593034,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":580669,"timestamp":256378619902,"id":64,"parentId":38,"tags":{},"startTime":1760147891883,"traceId":"448b282766ba636b"},{"name":"check-page","duration":607549,"timestamp":256378593057,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1760147891856,"traceId":"448b282766ba636b"},{"name":"is-page-static","duration":582480,"timestamp":256378625185,"id":65,"parentId":44,"tags":{},"startTime":1760147891888,"traceId":"448b282766ba636b"},{"name":"check-page","duration":614073,"timestamp":256378593612,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1760147891857,"traceId":"448b282766ba636b"},{"name":"static-check","duration":648557,"timestamp":256378559275,"id":21,"parentId":1,"tags":{},"startTime":1760147891822,"traceId":"448b282766ba636b"},{"name":"generate-required-server-files","duration":370,"timestamp":256379208135,"id":75,"parentId":1,"tags":{},"startTime":1760147892471,"traceId":"448b282766ba636b"},{"name":"write-routes-manifest","duration":651,"timestamp":256379214217,"id":77,"parentId":1,"tags":{},"startTime":1760147892477,"traceId":"448b282766ba636b"},{"name":"load-dotenv","duration":20,"timestamp":256379228457,"id":80,"parentId":79,"tags":{},"startTime":1760147892491,"traceId":"448b282766ba636b"},{"name":"run-export-path-map","duration":323,"timestamp":256379356544,"id":81,"parentId":79,"tags":{},"startTime":1760147892620,"traceId":"448b282766ba636b"},{"name":"next-export","duration":812965,"timestamp":256379227930,"id":79,"parentId":1,"tags":{},"startTime":1760147892491,"traceId":"448b282766ba636b"},{"name":"move-exported-app-not-found-","duration":4611,"timestamp":256380041952,"id":82,"parentId":78,"tags":{},"startTime":1760147893305,"traceId":"448b282766ba636b"},{"name":"move-exported-page","duration":8120,"timestamp":256380046651,"id":83,"parentId":78,"tags":{},"startTime":1760147893310,"traceId":"448b282766ba636b"},{"name":"static-generation","duration":1263910,"timestamp":256379224566,"id":78,"parentId":1,"tags":{},"startTime":1760147892488,"traceId":"448b282766ba636b"},{"name":"write-routes-manifest","duration":152096,"timestamp":256380488697,"id":84,"parentId":1,"tags":{},"startTime":1760147893752,"traceId":"448b282766ba636b"},{"name":"node-file-trace-build","duration":4676594,"timestamp":256379209966,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1760147892473,"traceId":"448b282766ba636b"},{"name":"apply-include-excludes","duration":376,"timestamp":256383886615,"id":85,"parentId":1,"tags":{},"startTime":1760147897150,"traceId":"448b282766ba636b"},{"name":"print-tree-view","duration":5624,"timestamp":256383887480,"id":86,"parentId":1,"tags":{},"startTime":1760147897151,"traceId":"448b282766ba636b"},{"name":"telemetry-flush","duration":46,"timestamp":256383893116,"id":87,"parentId":1,"tags":{},"startTime":1760147897156,"traceId":"448b282766ba636b"},{"name":"next-build","duration":21566907,"timestamp":256362326259,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1760147875589,"traceId":"448b282766ba636b"}]
|
|
1
|
+
[{"name":"generate-buildid","duration":243,"timestamp":416892894126,"id":4,"parentId":1,"tags":{},"startTime":1760308406387,"traceId":"d3e5719f0b9c2cc4"},{"name":"load-custom-routes","duration":534,"timestamp":416892894418,"id":5,"parentId":1,"tags":{},"startTime":1760308406388,"traceId":"d3e5719f0b9c2cc4"},{"name":"create-dist-dir","duration":1505,"timestamp":416892954037,"id":6,"parentId":1,"tags":{},"startTime":1760308406447,"traceId":"d3e5719f0b9c2cc4"},{"name":"create-pages-mapping","duration":150,"timestamp":416893051159,"id":7,"parentId":1,"tags":{},"startTime":1760308406544,"traceId":"d3e5719f0b9c2cc4"},{"name":"collect-app-files","duration":5533,"timestamp":416893051336,"id":8,"parentId":1,"tags":{},"startTime":1760308406544,"traceId":"d3e5719f0b9c2cc4"},{"name":"create-app-mapping","duration":1369,"timestamp":416893056892,"id":9,"parentId":1,"tags":{},"startTime":1760308406550,"traceId":"d3e5719f0b9c2cc4"},{"name":"create-app-layouts","duration":223,"timestamp":416893058277,"id":10,"parentId":1,"tags":{},"startTime":1760308406551,"traceId":"d3e5719f0b9c2cc4"},{"name":"collect-default-files","duration":2776,"timestamp":416893060660,"id":12,"parentId":1,"tags":{},"startTime":1760308406554,"traceId":"d3e5719f0b9c2cc4"},{"name":"generate-route-types","duration":33867,"timestamp":416893059336,"id":11,"parentId":1,"tags":{},"startTime":1760308406553,"traceId":"d3e5719f0b9c2cc4"},{"name":"public-dir-conflict-check","duration":825,"timestamp":416893093289,"id":13,"parentId":1,"tags":{},"startTime":1760308406586,"traceId":"d3e5719f0b9c2cc4"},{"name":"generate-routes-manifest","duration":2099,"timestamp":416893094267,"id":14,"parentId":1,"tags":{},"startTime":1760308406587,"traceId":"d3e5719f0b9c2cc4"},{"name":"run-turbopack-compiler","duration":7344134,"timestamp":416893107837,"id":16,"parentId":1,"tags":{},"startTime":1760308406601,"traceId":"d3e5719f0b9c2cc4"},{"name":"verify-and-lint","duration":2065161,"timestamp":416900469008,"id":19,"parentId":1,"tags":{},"startTime":1760308413962,"traceId":"d3e5719f0b9c2cc4"},{"name":"verify-typescript-setup","duration":5458617,"timestamp":416900465662,"id":18,"parentId":1,"tags":{},"startTime":1760308413959,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-static-error-page","duration":2292,"timestamp":416905946468,"id":22,"parentId":21,"tags":{},"startTime":1760308419440,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":2480,"timestamp":416906045886,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1760308419539,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":1543,"timestamp":416906046836,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":1633,"timestamp":416906046747,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":422640,"timestamp":416906056474,"id":51,"parentId":35,"tags":{},"startTime":1760308419550,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":432129,"timestamp":416906047081,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":447453,"timestamp":416906055243,"id":50,"parentId":31,"tags":{},"startTime":1760308419549,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":455685,"timestamp":416906047042,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":463985,"timestamp":416906057543,"id":57,"parentId":34,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":474479,"timestamp":416906047075,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":465925,"timestamp":416906057551,"id":58,"parentId":41,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":476412,"timestamp":416906047112,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":468269,"timestamp":416906057560,"id":59,"parentId":27,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":478949,"timestamp":416906046927,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":477389,"timestamp":416906057533,"id":56,"parentId":32,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":487923,"timestamp":416906047055,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":487019,"timestamp":416906057520,"id":55,"parentId":29,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":497638,"timestamp":416906046953,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":488408,"timestamp":416906057670,"id":61,"parentId":30,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":499172,"timestamp":416906046960,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":494617,"timestamp":416906057574,"id":60,"parentId":43,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":505101,"timestamp":416906047121,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":505583,"timestamp":416906057674,"id":62,"parentId":33,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":516243,"timestamp":416906047068,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":522406,"timestamp":416906057678,"id":63,"parentId":42,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":533005,"timestamp":416906047117,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":533921,"timestamp":416906057680,"id":64,"parentId":45,"tags":{},"startTime":1760308419551,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":544522,"timestamp":416906047132,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":541815,"timestamp":416906060356,"id":68,"parentId":48,"tags":{},"startTime":1760308419554,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":555079,"timestamp":416906047146,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":563382,"timestamp":416906060305,"id":67,"parentId":46,"tags":{},"startTime":1760308419554,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":576605,"timestamp":416906047136,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":568494,"timestamp":416906060607,"id":70,"parentId":28,"tags":{},"startTime":1760308419554,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":582187,"timestamp":416906046944,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":576167,"timestamp":416906060660,"id":71,"parentId":47,"tags":{},"startTime":1760308419554,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":589750,"timestamp":416906047142,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":577426,"timestamp":416906060556,"id":69,"parentId":26,"tags":{},"startTime":1760308419554,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":591149,"timestamp":416906046853,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":556577,"timestamp":416906087958,"id":73,"parentId":49,"tags":{},"startTime":1760308419581,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":597429,"timestamp":416906047153,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":700650,"timestamp":416906057081,"id":54,"parentId":40,"tags":{},"startTime":1760308419550,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":710683,"timestamp":416906047107,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":728948,"timestamp":416906057037,"id":53,"parentId":39,"tags":{},"startTime":1760308419550,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":738914,"timestamp":416906047102,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":833949,"timestamp":416906056898,"id":52,"parentId":36,"tags":{},"startTime":1760308419550,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":843794,"timestamp":416906047087,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":830649,"timestamp":416906060268,"id":66,"parentId":37,"tags":{},"startTime":1760308419554,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":843831,"timestamp":416906047092,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":889414,"timestamp":416906060146,"id":65,"parentId":44,"tags":{},"startTime":1760308419553,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":902468,"timestamp":416906047127,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"is-page-static","duration":920231,"timestamp":416906070118,"id":72,"parentId":38,"tags":{},"startTime":1760308419563,"traceId":"d3e5719f0b9c2cc4"},{"name":"check-page","duration":943309,"timestamp":416906047097,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1760308419540,"traceId":"d3e5719f0b9c2cc4"},{"name":"static-check","duration":1044544,"timestamp":416905945912,"id":21,"parentId":1,"tags":{},"startTime":1760308419439,"traceId":"d3e5719f0b9c2cc4"},{"name":"generate-required-server-files","duration":243,"timestamp":416906991601,"id":75,"parentId":1,"tags":{},"startTime":1760308420485,"traceId":"d3e5719f0b9c2cc4"},{"name":"write-routes-manifest","duration":1631,"timestamp":416906997811,"id":77,"parentId":1,"tags":{},"startTime":1760308420491,"traceId":"d3e5719f0b9c2cc4"},{"name":"load-dotenv","duration":48,"timestamp":416907090041,"id":80,"parentId":79,"tags":{},"startTime":1760308420583,"traceId":"d3e5719f0b9c2cc4"},{"name":"run-export-path-map","duration":295,"timestamp":416907206560,"id":81,"parentId":79,"tags":{},"startTime":1760308420700,"traceId":"d3e5719f0b9c2cc4"},{"name":"next-export","duration":1245818,"timestamp":416907089489,"id":79,"parentId":1,"tags":{},"startTime":1760308420583,"traceId":"d3e5719f0b9c2cc4"},{"name":"move-exported-app-not-found-","duration":3991,"timestamp":416908336365,"id":82,"parentId":78,"tags":{},"startTime":1760308421830,"traceId":"d3e5719f0b9c2cc4"},{"name":"move-exported-page","duration":23082,"timestamp":416908340432,"id":83,"parentId":78,"tags":{},"startTime":1760308421834,"traceId":"d3e5719f0b9c2cc4"},{"name":"static-generation","duration":1665297,"timestamp":416907084304,"id":78,"parentId":1,"tags":{},"startTime":1760308420578,"traceId":"d3e5719f0b9c2cc4"},{"name":"write-routes-manifest","duration":79731,"timestamp":416908749870,"id":84,"parentId":1,"tags":{},"startTime":1760308422243,"traceId":"d3e5719f0b9c2cc4"},{"name":"node-file-trace-build","duration":4371853,"timestamp":416906993724,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1760308420487,"traceId":"d3e5719f0b9c2cc4"},{"name":"apply-include-excludes","duration":637,"timestamp":416911365736,"id":85,"parentId":1,"tags":{},"startTime":1760308424859,"traceId":"d3e5719f0b9c2cc4"},{"name":"print-tree-view","duration":3532,"timestamp":416911369350,"id":86,"parentId":1,"tags":{},"startTime":1760308424863,"traceId":"d3e5719f0b9c2cc4"},{"name":"telemetry-flush","duration":76,"timestamp":416911372896,"id":87,"parentId":1,"tags":{},"startTime":1760308424866,"traceId":"d3e5719f0b9c2cc4"},{"name":"next-build","duration":18920582,"timestamp":416892452399,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1760308405946,"traceId":"d3e5719f0b9c2cc4"}]
|
|
@@ -544,7 +544,7 @@ export const buildPOST = ({ prisma, onSuccessCreateThread = () => void 0, }) =>
|
|
|
544
544
|
requestRoute: LogRequestRoute.MESSAGES,
|
|
545
545
|
level: LogLevel.ERROR,
|
|
546
546
|
status: 500,
|
|
547
|
-
message: `Thread Run failed: ${error
|
|
547
|
+
message: `Thread Run failed: ${serializeError({ error })}`,
|
|
548
548
|
workspaceId: assistant.workspaceId,
|
|
549
549
|
assistantId: assistant.id,
|
|
550
550
|
threadId: thread.id,
|
|
@@ -86,12 +86,12 @@ export declare const baseSchema: z.ZodObject<{
|
|
|
86
86
|
name: z.ZodString;
|
|
87
87
|
arguments: z.ZodEffects<z.ZodString, string, string>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
type: "FUNCTION";
|
|
90
89
|
name: string;
|
|
90
|
+
type: "FUNCTION";
|
|
91
91
|
arguments: string;
|
|
92
92
|
}, {
|
|
93
|
-
type: "FUNCTION";
|
|
94
93
|
name: string;
|
|
94
|
+
type: "FUNCTION";
|
|
95
95
|
arguments: string;
|
|
96
96
|
}>>>;
|
|
97
97
|
createTaskHandler: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -128,8 +128,8 @@ export declare const baseSchema: z.ZodObject<{
|
|
|
128
128
|
assistantId: string;
|
|
129
129
|
} | null | undefined;
|
|
130
130
|
clientToolHandler?: {
|
|
131
|
-
type: "FUNCTION";
|
|
132
131
|
name: string;
|
|
132
|
+
type: "FUNCTION";
|
|
133
133
|
arguments: string;
|
|
134
134
|
} | null | undefined;
|
|
135
135
|
createTaskHandler?: {
|
|
@@ -167,8 +167,8 @@ export declare const baseSchema: z.ZodObject<{
|
|
|
167
167
|
assistantId: string;
|
|
168
168
|
} | null | undefined;
|
|
169
169
|
clientToolHandler?: {
|
|
170
|
-
type: "FUNCTION";
|
|
171
170
|
name: string;
|
|
171
|
+
type: "FUNCTION";
|
|
172
172
|
arguments: string;
|
|
173
173
|
} | null | undefined;
|
|
174
174
|
createTaskHandler?: {
|
|
@@ -208,8 +208,8 @@ export declare const baseSchema: z.ZodObject<{
|
|
|
208
208
|
assistantId: string;
|
|
209
209
|
} | null | undefined;
|
|
210
210
|
clientToolHandler?: {
|
|
211
|
-
type: "FUNCTION";
|
|
212
211
|
name: string;
|
|
212
|
+
type: "FUNCTION";
|
|
213
213
|
arguments: string;
|
|
214
214
|
} | null | undefined;
|
|
215
215
|
createTaskHandler?: {
|
|
@@ -250,8 +250,8 @@ export declare const baseSchema: z.ZodObject<{
|
|
|
250
250
|
assistantId: string;
|
|
251
251
|
} | null | undefined;
|
|
252
252
|
clientToolHandler?: {
|
|
253
|
-
type: "FUNCTION";
|
|
254
253
|
name: string;
|
|
254
|
+
type: "FUNCTION";
|
|
255
255
|
arguments: string;
|
|
256
256
|
} | null | undefined;
|
|
257
257
|
createTaskHandler?: {
|
|
@@ -372,12 +372,12 @@ export declare const functionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
372
372
|
name: z.ZodString;
|
|
373
373
|
arguments: z.ZodEffects<z.ZodString, string, string>;
|
|
374
374
|
}, "strip", z.ZodTypeAny, {
|
|
375
|
-
type: "FUNCTION";
|
|
376
375
|
name: string;
|
|
376
|
+
type: "FUNCTION";
|
|
377
377
|
arguments: string;
|
|
378
378
|
}, {
|
|
379
|
-
type: "FUNCTION";
|
|
380
379
|
name: string;
|
|
380
|
+
type: "FUNCTION";
|
|
381
381
|
arguments: string;
|
|
382
382
|
}>>>;
|
|
383
383
|
createTaskHandler: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -414,8 +414,8 @@ export declare const functionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
414
414
|
assistantId: string;
|
|
415
415
|
} | null | undefined;
|
|
416
416
|
clientToolHandler?: {
|
|
417
|
-
type: "FUNCTION";
|
|
418
417
|
name: string;
|
|
418
|
+
type: "FUNCTION";
|
|
419
419
|
arguments: string;
|
|
420
420
|
} | null | undefined;
|
|
421
421
|
createTaskHandler?: {
|
|
@@ -453,8 +453,8 @@ export declare const functionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
453
453
|
assistantId: string;
|
|
454
454
|
} | null | undefined;
|
|
455
455
|
clientToolHandler?: {
|
|
456
|
-
type: "FUNCTION";
|
|
457
456
|
name: string;
|
|
457
|
+
type: "FUNCTION";
|
|
458
458
|
arguments: string;
|
|
459
459
|
} | null | undefined;
|
|
460
460
|
createTaskHandler?: {
|
|
@@ -494,8 +494,8 @@ export declare const functionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
494
494
|
assistantId: string;
|
|
495
495
|
} | null | undefined;
|
|
496
496
|
clientToolHandler?: {
|
|
497
|
-
type: "FUNCTION";
|
|
498
497
|
name: string;
|
|
498
|
+
type: "FUNCTION";
|
|
499
499
|
arguments: string;
|
|
500
500
|
} | null | undefined;
|
|
501
501
|
createTaskHandler?: {
|
|
@@ -536,8 +536,8 @@ export declare const functionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
536
536
|
assistantId: string;
|
|
537
537
|
} | null | undefined;
|
|
538
538
|
clientToolHandler?: {
|
|
539
|
-
type: "FUNCTION";
|
|
540
539
|
name: string;
|
|
540
|
+
type: "FUNCTION";
|
|
541
541
|
arguments: string;
|
|
542
542
|
} | null | undefined;
|
|
543
543
|
createTaskHandler?: {
|
|
@@ -578,8 +578,8 @@ export declare const functionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
578
578
|
assistantId: string;
|
|
579
579
|
} | null | undefined;
|
|
580
580
|
clientToolHandler?: {
|
|
581
|
-
type: "FUNCTION";
|
|
582
581
|
name: string;
|
|
582
|
+
type: "FUNCTION";
|
|
583
583
|
arguments: string;
|
|
584
584
|
} | null | undefined;
|
|
585
585
|
createTaskHandler?: {
|
|
@@ -620,8 +620,8 @@ export declare const functionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
620
620
|
assistantId: string;
|
|
621
621
|
} | null | undefined;
|
|
622
622
|
clientToolHandler?: {
|
|
623
|
-
type: "FUNCTION";
|
|
624
623
|
name: string;
|
|
624
|
+
type: "FUNCTION";
|
|
625
625
|
arguments: string;
|
|
626
626
|
} | null | undefined;
|
|
627
627
|
createTaskHandler?: {
|
|
@@ -33,9 +33,9 @@ export declare const getFunction: ({ assistant, toolCall, }: {
|
|
|
33
33
|
handlerId: string;
|
|
34
34
|
} | null;
|
|
35
35
|
clientToolHandler: {
|
|
36
|
+
name: string;
|
|
36
37
|
id: string;
|
|
37
38
|
type: import("@prisma/client").$Enums.ClientToolHandlerType;
|
|
38
|
-
name: string;
|
|
39
39
|
createdAt: Date;
|
|
40
40
|
updatedAt: Date;
|
|
41
41
|
handlerId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/tools/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAOlE,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/tools/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAOlE,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAiRhC,eAAO,MAAM,KAAK,GAAU,gCAIzB;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;;;WAkBQ,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;EAE9C,CAAA"}
|
|
@@ -69,6 +69,8 @@ const nativeTools = ({ assistant, }) => {
|
|
|
69
69
|
return {
|
|
70
70
|
type: 'image_generation',
|
|
71
71
|
image_generation: {
|
|
72
|
+
model: tool.imageGenerationTool.model,
|
|
73
|
+
background: tool.imageGenerationTool.background.toLowerCase(),
|
|
72
74
|
quality: tool.imageGenerationTool.quality.toLowerCase(),
|
|
73
75
|
output_format: tool.imageGenerationTool.outputFormat.toLowerCase(),
|
|
74
76
|
size: serializeImageGenerationToolSize({ tool }),
|
package/package.json
CHANGED
|
@@ -4,6 +4,8 @@ model ImageGenerationTool {
|
|
|
4
4
|
partialImages Int @default(0)
|
|
5
5
|
quality ImageGenerationToolQuality @default(AUTO)
|
|
6
6
|
size ImageGenerationToolSize @default(AUTO)
|
|
7
|
+
background ImageGenerationToolBackground @default(AUTO)
|
|
8
|
+
model String @default("gpt-image-1")
|
|
7
9
|
toolId String @db.Uuid @unique
|
|
8
10
|
tool Tool @relation(fields: [toolId], references: [id], onDelete: Cascade)
|
|
9
11
|
createdAt DateTime @default(now()) @db.Timestamptz(6)
|
|
File without changes
|
/package/.next/static/{JgqHYjNUW4twUoiJwNTCD → SAz3Y3qRZpSW_GEkZI_oP}/_clientMiddlewareManifest.json
RENAMED
|
File without changes
|
|
File without changes
|