Spaces:
Sleeping
Sleeping
Commit History
-
fix: change content-type to json (#117)
ZhichaoUnverified signatureRelated PR: https://github.com/landing-ai/vision-agent-service/pull/22 Changes the POST request from `multipart/form-data` to the `application/json` Also removed the useless `mediaUrl` param.a031dc6
-
feat: remove image from vision agent request param (#114)
wuyiqunLuUnverified signatureconnected vision-agent-service locally and tested chat and worked properly: <img width="1464" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/99d63cf9-ba0b-4dd4-9a26-aca500314a64"> <img width="1458" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/9d9d2a5d-f230-4a2f-96c5-9325cd6e2181">cef4233 -
fix: some file with empty space not get encoded correctly (#110)
wuyiqunLuUnverified signatureUse the previous not worked image to load the chat and see success result: <img width="1061" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/646e8bcc-c3de-412e-aa79-24dbee5bc02f"> Also, the 400 error logged completely: <img width="1390" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/19fe3eb5-51ad-40d7-b64a-a2ceae3afb69">9ead915
-
fix: add local env for connecting local server (#106)
wuyiqunLuUnverified signature<img width="334" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/e124adc4-acd1-409b-971f-914562d5ac00">7e3ba51
-
feat: encode uri for s3 url when loading (#104)
wuyiqunLuUnverified signaturefile name has special characters (%, & etc): <img width="737" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/33706c60-f7f5-4f3e-8ace-3d1e6afb77be"> <img width="1524" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/80edeb03-b10d-4463-bd85-68d1d1d157a8"> normal file name without special characters: <img width="883" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/2029ac6b-8605-4849-8661-93b3008acc02">c7e97b5 -
feat: update final_error to result and add cancel callback (#103)
wuyiqunLuUnverified signature<img width="1288" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/743a66c9-65f9-4698-9d67-3ef6eb209ef3"> <img width="1271" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/4ac27c6f-85b9-496b-b436-1921c2ba052c">7286745
-
feat: timeout on idle only (#98)
wuyiqunLuUnverified signatureChange the maxout to 0.3 min and add sleep in rest api side and see: <img width="929" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/383b5d3a-bba6-4f10-9eda-0f995800209a"> Change back to 2 min, and running normal prompt (The service is having some issues due to the introduction of langsmith, so could not get the image generated): <img width="1450" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/092c37c7-4b39-4d90-871f-bf32f7f42ee8">466a263
-
fix: timeout error not show in progress (#96)
wuyiqunLuUnverified signaturebecause previously was not properly encoded but this enqueue can be removed since the chat will be refreshed with db data <img width="982" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/cfd0bbd5-e1e7-4159-8a4f-14c0225a55fa">0c7d622 -
fix: revalidatePath not work in api route handler (#95)
wuyiqunLuUnverified signaturehttps://nextjs.org/docs/app/building-your-application/caching#data-cache-and-client-side-router-cache after ending, see the refreshed data <img width="1524" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/65fb8076-26e9-4cb2-9e11-757a5db32a2c">7acedd7 -
feat: add responseBody field and serving data to hooks (#93)
wuyiqunLuUnverified signatureNew chat loaded properly and refresh still loaded: <img width="1477" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/5fa60f22-e609-49e4-9a80-5ffde16bce8c"> Previous chat can still be loaded properly: <img width="1500" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/e526e549-711c-433d-a70f-459c8af7bb9b">bc1cf4e
-
feat: conversation restructure, assistant message should be just code (#89)
Unverified signature  Also fix backwards compatibly from https://github.com/landing-ai/vision-agent-ui/pull/86ba9285c -
feat: Final error display and step duration (#88)
Unverified signature3c8b24f -
feat: add timestamp to msg body (#86)
wuyiqunLuUnverified signatureand refactor the agent endpoint code a bit <img width="1443" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/bd79c37a-3fd4-47cb-a0ca-16dfe7c2c2ab">6fb9264 -
change to publicrestapi internal url for eks (#84)
ZhichaoUnverified signatureTalk to publicrestapi from internal for EKS deployments https://app.asana.com/0/1204554785675703/1207476720559820/fhttps://app.asana.com/0/1204554785675703/1207476720559820/f2e16ef9 -
feat: enqueue final error to ui on streaming error and timeout (#83)
wuyiqunLuUnverified signature <img width="1423" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/c2cb87c1-aed5-42a4-802d-1b75bab0968e">eae2367 -
done
8449c08 -
done
36c5999 -
save
db06845 -
feat: add timeout and remove png from code result (#82)
wuyiqunLuUnverified signaturetested locally and see the final result: <img width="1441" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/2c015adc-9793-4325-ab13-31eeb65c652b">d4e2332 -
fix: revert failed deployment (#81)
Unverified signature4a72a82 -
feat: add timeout and remove png from code result (#80)
wuyiqunLuUnverified signaturethe error message could not be surfaced somehow and instead got network error, but it timeout as expected937ae4d
-
feat: Directly us DBMessage as UIMessage + Code viewer (#74)
Unverified signature4af6326 -
feat: support png and mp4 rendering (#73)
wuyiqunLuUnverified signature<img width="1164" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/2311e390-fa0c-4acf-bcb7-5da1f7d34c36">1a37272 -
fix: online stream message issue (#71)
wuyiqunLuUnverified signature46f65e5
-
feat: DB change - combine user and assistant message (#70)
Unverified signaturea1c5622
-
feat: change db message format and parser (#66)
wuyiqunLuUnverified signature<img width="767" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/070987c0-994b-4223-a030-a05d352c8b4f">ca7a659 -
feat: Restruct Composer and Homepage (#64)
Unverified signature92f037b
-
feat: parse new msg format (#57)
wuyiqunLuUnverified signaturelog the data from vision agent, and set the message in client side to have more flexibilities. https://github.com/landing-ai/vision-agent-ui/assets/132986242/bd899636-2b36-49dc-abd1-287125d54f43 https://github.com/landing-ai/vision-agent-ui/assets/132986242/89c7474b-ce49-44a7-b1fc-fb53e159940863d0776
-
feat: revalidate path / remove create chat api (use server action) / code block style (#53)
Unverified signature<img width="934" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/5669963/6fd046ea-e9b5-45e2-bbef-bff0f1e42ac3">71679ee
-
fix: when api sending multiple chunks together with incomplete json (#52)
wuyiqunLuUnverified signaturetested locally with online api and see preview worksf3db631 -
feat: integrate vision agent v3 for logs and code (#51)
wuyiqunLuUnverified signaturewhat looks like for V2: https://github.com/landing-ai/vision-agent/assets/132986242/95eb4605-0d37-402c-8401-b843bfd769ad V3: https://github.com/landing-ai/vision-agent/assets/132986242/4728641e-a9a7-49eb-81e7-2a5eff155224154a1e7
-
feat: Setup postgres and prisma (#50)
Unverified signaturehttps://vercel.com/landing-platform/~/stores/postgres/store_kmMuRzKbVnJ5IGpL/guides <img width="311" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/5669963/2bceb4d8-cbfd-45ea-a98e-97220f718d70"> **Server function to migrate** - [DONE] Create user - [DONE] Logout user create Chat with init message - [DONE] Logout out user create message into existing chat - [DONE] Login user show chat history - [DONE] Login user create message into existing chat - [DONE] Delete Chat5ec491a
-
Delete chat and clean up toggle into search params (#48)
Unverified signature<img width="246" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/5669963/2b1b7cdc-7671-4211-a9be-32e8954c73e1">d553ae5
-
feat: add switch to toggle self reflection (#44)
wuyiqunLuUnverified signature<img width="904" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/5b2fd8ee-1ade-41d7-a59f-57c323cd5036"> <img width="884" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/c3373cfc-f8c3-49d9-8415-e40492328303">34afd2e
-
feat: generate thumbnail and save on video upload (#43)
wuyiqunLuUnverified signature<img width="1035" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/71c19637-149a-4349-9c4d-0ac9db031231">bc0330e
-
feat: add message to ask user login (#36)
wuyiqunLuUnverified signatureTODO: ask user to visit va.landing.ai on hugging face <img width="963" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/0b2bc134-2562-43df-ad96-ffd395e66a1c"> <img width="1301" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/fb4a17c8-c2ea-4153-9b92-bad52e7e07b1">58d7e55 -
feat: use video cover as thumbnail (#35)
wuyiqunLuUnverified signature<img width="1131" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/4c981213-59a1-47a3-831e-a0cf529ad865">760e83d
-
feat: vision agent streaming (#32)
wuyiqunLuUnverified signature<img width="1493" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/bcaf6c02-6076-41a0-a1b0-83197bc90af7"> Not able to test error logging at the moment, will add later139a0f4
-
feat: show image in user input (#30)
wuyiqunLuUnverified signature<img width="854" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/789a38c8-f491-456c-ad9a-eb22e19a5bc7"> <img width="869" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/864a6d3e-44c1-4f52-96cd-7f4e55b1178d"> <img width="1288" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/f8086c87-7a8e-4ec5-bcd5-84572462a964"> https://app.asana.com/0/1204554785675703/1207242625376120/f0d6f04b
-
feat: do not use edge for vision agent api (#26)
wuyiqunLuUnverified signaturecause edge functions are not support native node https://nextjs.org/docs/messages/node-module-in-edge-runtime76503b7
-
feat: log request param to loki (#24)
wuyiqunLuUnverified signatureloki winston has compiling issue in next js, so using pino instead. <img width="1358" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/d6c1b86d-b378-4e88-ba75-f4c25747eace">314f2dc
-
feat: only send answer when resending messages (#25)
wuyiqunLuUnverified signaturehttps://app.asana.com/0/1204554785675703/1207171219059373/f <img width="1242" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/1dd8f47c-fcac-4c35-ae30-1fed61e0edef">0a08909
-
Revert "feat: temp to test in prod (#22)"
This reverts commit 3339ccb75cadf2329cb63f04022e64bcfb9fc3c9.31d3a01 -
feat: temp to test in prod (#22)
wuyiqunLuUnverified signatureseems like to work in local need to run docker, so test it in prod3339ccb
-
feat: Component UI and lastUpdated timestamp (#21)
Unverified signature<img width="1904" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/5669963/0565c7e2-a481-4246-8329-343a6c079fce">bfbf1a7
-
feat: support image rendering on answer (#19)
wuyiqunLuUnverified signaturehttps://app.asana.com/0/1204554785675703/1207155143920392/f <img width="769" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/e20eac86-73ec-4dc2-8764-afb0f0c153da">5d7d435 -
feat: Customized Img and scroll to bottom (#18)
Unverified signature<img width="1904" alt="image" src="https://github.com/landing-ai/vision-agent-ui/assets/5669963/2043cf31-34e8-4aae-8ddd-9f068154fb8f">8e3dbd3
-
feat: change the upload flow (#17)
wuyiqunLuUnverified signatureLocal works, deploy to vercel to see if larger than 4mb can be uploaded6b8f69a
-
Merge branch 'main' of github.com:landing-ai/vision-agent-ui
c2f566c -
runtime: node
006a5fc