Commit History
-
Move vars to dynamic, add metrics (#1085)
Unverified signature* Add healthcheck route * Add prom client with basic metrics * wip: serve metrics on a different port * exclude server from tsconfig * latest * refacto(all): use class & singleton * refacto(all): use class & singleton * refacto(all): add request logs * Make all the env vars dynamic (#1092) * Add truncate to task model (#1090) * retry text area height (#1091) * Make all the env vars dynamic * only check for db at runtime * remove secret from build step * improve dockerfile * Wrap db in singleton * add .env.local to dockerignore * changes to dockerfile * lint * aborted generations * move collections build check * Use a single dockerfile * lint * fixes * lint * don't return db during building * remove dev --------- Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * refacto(all): update default metrics port * fix recursion error * add version check * revert vite preview * Move request …98b1c51
-
Add the simplest healthcheck route (#1089)
Unverified signature6d91018 -
Use pino for logs (#1086)
Unverified signature* Use pino for logs * Use logger for info * Add errorId to the logsddbe7d2
-
Sort by Trending to default (#1082)
Nishith Jain +1: nsarrazin Unverified signature* Sort by Trending to default Switched the default sorting from 'popular' to 'trending'. * Set TRENDING as the default sort key in load function --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>fc53d26
-
set `sameSite` to `lax` when allowing insecure cookies (#1078)
Unverified signaturebc30bd1
-
Add `ALLOW_INSECURE_COOKIES` feature flag (#1076)
Unverified signaturede2df1a
-
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 -
add createdAt and udpatedAt to new messages (#1062)
Unverified signature8b0abbc
-
Final fix to assistants display logic (#1056)
Unverified signature84d0edd -
Only require featured assistants for other users' assistants (#1054)
Unverified signature7ede405 -
fix: See all your assistants regardless of usercount (#1053)
Unverified signature95b3715 -
Support Gemini 1.5 Pro from Vertex AI (#1041)
Luke +1: nsarrazin Unverified signature* fix support for gemini on vertex ai - use native messages api - provide full content - hide "Continue" button - support "safety settings" - fix confusion in readme * respect new lines in model description * ignore google service accounts matching `gcp-*.json` * type checks * copy service account, if exists, to container * narrow response type * fix streaming generation --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>2ce3b4b -
Move featured assistant check behind `REQUIRE_FEATURED_ASSISTANTS` (#1043)
Unverified signatureMove featured assistant check behind `REQUIRE_FEATURED_ASSISTANTS` env var (#997)7d34920
-
Add support for Meta Llama 3 70B in HuggingChat (#1029)
Unverified signature8582ce1
-
Add apple app ID to meta tags (#1025)
Unverified signatureAdd apple ID to tags0410c78 -
Add assistant instructions to first system message (#1023)
Unverified signatureAdd assistant instructions to message 06f25c22
-
add an endpoint to api to get an assistant by id (#1020)
Kevin CATHALYUnverified signaturec2f5b76 -
Allow websearch if assistant has dynamic prompts (#1017)
Unverified signature* Allow websearch if assistant has dynamic prompts * Checksd4f393d
-
Fix capitalization (#1012)
Derry TuttUnverified signature4538f1d
-
Send characters by groups of 5 (#1007)
Unverified signature* Send characters by groups of 5 * remove commentc1caa1f -
Fix unresponsive page after deleting all conversations (#1004)
Francois LancelotUnverified signatureFix #937a59f531
-
Group tokens randomly (#964)
Unverified signature* Group tokens together * remove unused comment * Send final buffer at the end if neededa01ed5a
-
[Trending assistants] make ui visible (#966)
MishigUnverified signature9a4b7ac
-
[Assistants] trending feature (#938)
Mishig +1: coyotte508Unverified signature* [Assistants] trending feature * cleaner sort query * create & use `AssistantStats` collection * fix grouping * rm usage of migration * ♻️ Refacto lock usage / AssistantStat * 🩹 Fix last24HoursCount.count => last24HoursCount * 🐛 Fix collection name * 🐛 Fix DB query * 🐛 Fix rate limit on assitant creation * 🐛 Fix aggregation query * ✨ Only run refreshAssistants if assistants are enabled * hide UI until we have enough stats collection --------- Co-authored-by: coyotte508 <coyotte508@gmail.com>a4c3fca
-
Expose sampling controls in assistants (#955) (#959)
Unverified signature* Expose sampling controls in assistants (#955) * Make sure all labels have the same font size * styling * Add better tooltips * better padding & wrapping * Revert "better padding & wrapping" This reverts commit 1b44086465040f2cb6bc906983cfc8d95820d6fe. * ui update * tooltip on mobile * lint * Update src/lib/components/AssistantSettings.svelte Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com> Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>d4016bc
-
Limit number of fetched conversations in the API (#954)
Unverified signature* Limit number of fetched conversations in the API * Add pagination * use vare9ad67e -
Dynamic system instructions (#949)
Unverified signature* Dynamic system instructions * disable tag rendering if the feature is disabled * make time & date tags bold * fix bug enabling dynamic prompt on assistant creation * Move fetching at prompt building time * get rid of date & time tags * use `url=` for tags * add env flag check * Add more detailed errors in prompt * wording * token counter * modal update * wording * hide disabled if dynamic prompt is enabled * add template variables parsing * regex update * same regex * regex again * sys prompt max height * rm unused * Always use absolute URL in links * trying something * Revert "trying something" This reverts commit e30ab33f801fad31cbcaa7b89c47c79d4aca86a6. * wording * remove debug log * last wording tweak --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>6887755
-
🚸 When a user signs up they're directly logged in (#952)

Eliott C +2: coyotte508, nsarrazin Unverified signature* 🚸 When a user signs up they're directly logged in * lint --------- Co-authored-by: coyotte508 <coyotte508@protonmail.com> Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>506e596 -
add api assistants endpoints (#951)
Kevin CATHALY +2: Kevin CATHALY, nsarrazin Unverified signature* add api assistants endpoints * lint --------- Co-authored-by: Kevin CATHALY <alakme@kevins-macbook-pro.home> Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>5f64024 -
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 -
Enhance Dynamic User Attribute Handling in OIDC Integration (#885)
Chang Chi, Meng +2: nsarrazin, ‘XGungo’ Unverified signature* Refactor `updateUser` to Support Dynamic `nameClaim` Configuration * style: run Prettier to fix lint errors * Validate NAME_CLAIM in OIDConfig schema * Refactor userData parsing --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> Co-authored-by: ‘XGungo’ <‘daniel2000890311g@gmail.com’>c6129c3 -
feat: smooth and combine token output (#936)
Liam DyerUnverified signature* feat: smooth and combine token output * fix: stop generating button not triggering message updates abort8583cf1
-
Modals: dont close if text is selected (#943)
Unverified signaturedont close if text is selected999407a
-
Store user agent in conversation (#940)
Unverified signature* Store user agent on conversation creation * casing headerd196c64
-
Fix model identification when creating conversations (#820)
Unverified signaturePR #181 introduced a model ID field so that models could be switched out without breaking existing conversations. However, the new conversation endpoint incorrectly uses the model name instead of ID, so without this fix it was not possible to have a model with a different ID and name. Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>7849c30
-
Add websearch controls for assistants (#812)
Unverified signature* remove query modifiers from generateQuery * Add backend for assistant RAG * Add front-end for updating RAG assistant * enable web parser to return plaintext directly for matching headers * Update websearch flow for handling assistant rag preferences * Add our old blocklist to .env.template * Enable websearch to run on messages depending on assistant requirements * reorganized imports * Rename vars * use projection * Add environment variable for assistant rag * fix assistant rag on runwebsearch * fix styling if rag is disabled * make sure we always omit credentials when fetching web pages * Add new checks for SSRF, with a new env var `ENABLE_LOCAL_FETCH` * Use DNS to check if the links are local or not * Add a websearch indicator * Add more tags to parser * Add indicators * Display RAG options in settings view * ui * fix rag detection * bit more spacing * fix button position in assistant form * wording (mainly) …3f5871c
-
Remove double meta tags on models page (#918)
Unverified signature* Remove double meta tags * Remove unknown property0081568 -
Direct model page (#858)
Unverified signature* Direct model page * Remove auto redirect * fix thumbnail * css warning * change url for models * instantSet from settings * Get rid of redirect * thumbnail * also link from /models * use public app color --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>64b910e -
Return an error on unknown model in new conversation (#916)
Unverified signature403d4bd
-
Make assistant settings form fill the modal (#900)
Unverified signature* Make assistant settings form fill the modal * tweaks * Use layout groups instead of parsing the url * fix console error & overflows * scroll on dialog instead --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>315e56b -
Make sure preprompt is set on open ai endpoint type (#913)
Unverified signature* Make sure preprompt is set on open ai endpoint type * fix preprompt passing to conversationbcfa394
-
[Assisntans filter] More UX fixes (#908)
MishigUnverified signature* [Assisntans filter] More UX fixes * rm unused09eb258 -
[Assistants filter] Make UI more responsive (#906)
MishigUnverified signature7f7375d -
Add limits on API endpoints (#886)
Unverified signature* Add limits on messages, conversations, assistants and messages/minute * Add max message length limit * remove rate limits from public config * add `RATE_LIMITS` to secrets * Add `MESSAGES_BEFORE_LOGIN` to secrets * replace `RATE_LIMITS` by `USAGE_LIMITS` * replace `RateLimits` by `usageLimits` and only get nEvents if needed * rename schema too * replace \r\n by \n537b6f5
-
[Assistants filter] Fix bug (#902)
MishigUnverified signature21c9b41 -
[Assistants] Show/enable UI for filtering (#901)
MishigUnverified signature5a792a0 -
[Assistants] Filter on names (#841)
Mishig +3: Eliott C., nsarrazin, victor Unverified signature* [Assistants] Filter on names * Add `$text` index on `assistant.name` (#844) * add maxlength * better experience * use `$meta: "textScore"` * Update src/routes/assistants/+page.server.ts Co-authored-by: Eliott C. <coyotte508@gmail.com> * null, not undefined * [Assistants] Filter on names (using searchTokens) (#873) Filter with `searchTokens` * input * rm extra whitespace * hide UI before migration * rm ad-hoc migration --------- Co-authored-by: Eliott C. <coyotte508@gmail.com> Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> Co-authored-by: Victor Mustar <victor.mustar@gmail.com>10dbbd6
-
Navigation collapse (#893)
Unverified signature* add collapse behaviour * add collapsedNavigation setting * Revert "add collapsedNavigation setting" This reverts commit 6c9baf480834ba5bf2b5bdd3cbf93232afce02a7. * last tweaks * rm unused * Update src/lib/components/ExpandNavigation.svelte Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>3abaf81
-
Improve error handling when posting new messages (#892)
Unverified signature* send an error or if no text was written * fix loading indicator * fix lastIsError code0f7a55d