chat-ui
Migrate to new model + proxy from server
#5
Merged

Migrate to new model + proxy from server #5

Grsmto merged 27 commits into main from adrien-proxy-server
Grsmto
Grsmto use fork of hf.js to support fully custom endpoints for testing purpose
e0063d60
Grsmto proxy textGenerationStream call to the backend to hide token from client
300d3ac6
Grsmto migrate to patch-package instead of pnpm
33fcc32a
Grsmto fix issue after merge conflict
157bd495
Grsmto Merge branch 'main' into adrien-proxy-server
495778bc
Grsmto Grsmto requested a review from gary149 gary149 2 years ago
gary149 gary149 requested a review from julien-c julien-c 2 years ago
Grsmto use env var instead of hardcoded value for endpoint
edc565ef
Grsmto fix messages not being split between assistant/user
2e455f6c
Grsmto fix stream response sometimes not split by token
dd24928e
Grsmto Grsmto force pushed from b5260afe to dd24928e 2 years ago
julien-c
julien-c commented on 2023-04-18
julien-c
julien-c commented on 2023-04-18
julien-c
julien-c commented on 2023-04-18
Grsmto remove PUBLIC_ from private env variables + rename ENDPOINT to MODEL_…
334788cc
julien-c
julien-c commented on 2023-04-18
Grsmto only set hf token as private, model can stay public
7cb33c0d
julien-c
julien-c commented on 2023-04-18
Grsmto move HF_TOKEN to a dynamic env
915e0264
julien-c
julien-c commented on 2023-04-18
Grsmto fix env var import typo
cd6ec88f
Grsmto remove @microsoft/fetch-event-source
717bc291
Grsmto update parameters to be identical to Python demo
7fb0ce26
Grsmto small refactor to avoid typing issue
ab5dec48
Grsmto cleanup while loop
3e36610c
coyotte508
coyotte508
coyotte508 commented on 2023-04-18
coyotte508
coyotte508 commented on 2023-04-18
coyotte508
coyotte508 commented on 2023-04-18
Grsmto make comment clearer on what is happening on stream chunks split
ff743d23
Grsmto fix chunk spliting not being handled properly
7902b8c5
Grsmto cleanup model tokens sometimes containing "<|endoftext|>" text
46013245
Grsmto refactor how we proxy from the server to simplify logic
285f3261
Grsmto use latest version of hf.js
3c5c3324
Grsmto Grsmto force pushed from 4ab6e6fd to 3c5c3324 2 years ago
Grsmto use .env + .env.local instead of .env.example
c436c299
Grsmto rewrite logic to trim "<|endoftext|>" artifact properly
a74996d8
Grsmto update to latest hf.js
cd5734b6
Grsmto Merge branch 'main' into adrien-proxy-server
4abaed99
Grsmto Grsmto requested a review from julien-c julien-c 2 years ago
coyotte508
coyotte508 commented on 2023-04-18
coyotte508
coyotte508 approved these changes on 2023-04-18
Grsmto expose env var to Docker during build time for deployment
19b9f82c
Grsmto remove patch-package
db89a187
Grsmto Grsmto merged c8d90f4a into main 2 years ago
Grsmto Grsmto deleted the adrien-proxy-server branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone