Commit History
-
Add conversation API endpoint to get conversation (#698)
Kevin CATHALY +2: Kevin CATHALY, Eliott C.Unverified signature* Sorting conversation list in api response * Add new conversation endpoint in the api * only expose needed param in the API * Update src/routes/api/conversations/+server.ts Co-authored-by: Eliott C. <coyotte508@gmail.com> * linter * fix type --------- Co-authored-by: Kevin CATHALY <alakme@kevins-mbp.home> Co-authored-by: Eliott C. <coyotte508@gmail.com>ee47ff3
-
✨ Save messages in backend (#31)
Eliott CUnverified signaturead02fa3 -
🩹 Fix proxified headers + remove guard in hook (#27)
Eliott CUnverified signature3ddb8c6
-
Split app structure & create convos (#20)
Eliott CUnverified signature1b66f8d -
🔧 Standardize environment config (#13)
Eliott CUnverified signature3ebd805 -
Migrate to new model + proxy from server (#5)
Adrien Denat +1: julien-c Unverified signature* use fork of hf.js to support fully custom endpoints for testing purpose * proxy textGenerationStream call to the backend to hide token from client * migrate to patch-package instead of pnpm * fix issue after merge conflict * use env var instead of hardcoded value for endpoint * fix messages not being split between assistant/user * fix stream response sometimes not split by token * remove PUBLIC_ from private env variables + rename ENDPOINT to MODEL_ENDPOINT * only set hf token as private, model can stay public * move HF_TOKEN to a dynamic env * fix env var import typo * remove @microsoft/fetch-event-source * update parameters to be identical to Python demo * small refactor to avoid typing issue * cleanup while loop Co-authored-by: Julien Chaumond <julien@huggingface.co> * make comment clearer on what is happening on stream chunks split * fix chunk spliting not being handled properly * cleanup model tokens sometimes containing "<|e…c8d90f4