Skip to content

Conversation

@BrunoQuaresma
Copy link
Contributor

  • Updated AgentAPI to have an /embed page with a more simplified view, so it can be embed and integrated with other platforms like Coder UI.
  • Updated AgentAPI chat to match the coder/coder colors.
  • Added responsive styles to AgentAPI chat, so it can fit nicely on smaller views/areas like a sidebar.
Screenshot 2025-06-02 at 22 32 28
@BrunoQuaresma BrunoQuaresma requested a review from hugodutka June 3, 2025 01:32
@hugodutka
Copy link
Collaborator

next build fails with:

~/dev/agentapi % make build Chat sources changed. Running build steps... cd chat && BASE_PATH=/magic-base-path-placeholder bun run build $ next build ▲ Next.js 15.2.4 Creating an optimized production build ... ✓ Compiled successfully ✓ Linting and checking validity of types ✓ Collecting page data ⨯ useSearchParams() should be wrapped in a suspense boundary at page "/". Read more: https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout at a (/Users/hugodutka/dev/agentapi/chat/.next/server/chunks/487.js:5:40989) at d (/Users/hugodutka/dev/agentapi/chat/.next/server/chunks/487.js:3:18992) at l (/Users/hugodutka/dev/agentapi/chat/.next/server/chunks/100.js:1:3724) at nL (/Users/hugodutka/dev/agentapi/chat/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:76:46773) at nF (/Users/hugodutka/dev/agentapi/chat/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:76:48548) at nF (/Users/hugodutka/dev/agentapi/chat/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:76:64360) at nq (/Users/hugodutka/dev/agentapi/chat/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:76:67434) at nH (/Users/hugodutka/dev/agentapi/chat/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:76:65009) at nV (/Users/hugodutka/dev/agentapi/chat/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:76:70865) at nz (/Users/hugodutka/dev/agentapi/chat/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:76:69548) Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error Export encountered an error on /page: /, exiting the build. ⨯ Next.js build worker exited with code: 1 and signal: null error: script "build" exited with code 1 make: *** [Makefile:9: chat/.sources.stamp] Error 1 ~/dev/agentapi % 
@BrunoQuaresma BrunoQuaresma merged commit eba7a21 into main Jun 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants