Commit History
-
return only valid models in the API (#1064)
Kevin CATHALYUnverified signaturec265074 -
add default value for description and examples in the API route for models (#1063)
Kevin CATHALYUnverified signature815e76f
-
Count system prompt tokens (#850)
Mishig +1: nsarrazin Unverified signature* Count sysmte prompt tokens * show error only once * fix * fix css * simplify * fix * simplify * Revert "simplify" This reverts commit 61c0a2281f9795c4a4351d9ad473993a3c01c59f. * `model.tokenizer` config & fix reactivity issues * rm gated tokenizer * use `truncate` --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>50d8483
-
Models page (#849)
Unverified signature* add models page * add logo * models discussion * add default hint * Update +page.svelte * mishig review * fix typecheck --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>25c844d
-
Add an endpoints to expose models and conversations (#694)
Kevin CATHALY +3: Kevin CATHALY, nsarrazin, Eliott C. Unverified signature* Add an endpoint to expose available models * Add a route to list conversations history * use authCondition to filter current user's conversations * map models object to only keep needed params and also change the route path to /api/models * Put API feature behind feature flag (#695) * Puts the API behind a feature flag * Update src/hooks.server.ts Co-authored-by: Eliott C. <coyotte508@gmail.com> --------- Co-authored-by: Eliott C. <coyotte508@gmail.com> * add a better error when session's cookie is missing * rename error to message to be consistent --------- Co-authored-by: Kevin CATHALY <alakme@kevins-mbp.home> Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> Co-authored-by: Eliott C. <coyotte508@gmail.com>c30d191