Commit History
-
[Mongo] Optimize `reports` collection query (v2) (#834)
MishigUnverified signature* [Mongo] Optimize `reports` collection query (#832) * [Mongo] Optimize `reports` collection query * perform reports query only once * rm unused async * keep both indices * correct Objectid comparison53e0136 -
Revert "[Mongo] Optimize `reports` collection query (#832)" (#833)
MishigUnverified signatureThis reverts commit 19329abf32a4f49ff048585d0f6df5887cea8465.c755352 -
[Mongo] Optimize `reports` collection query (#832)
MishigUnverified signature* [Mongo] Optimize `reports` collection query * perform reports query only once * rm unused async * keep both indices19329ab -
Revert "[Assistants settings] Fix freezing (#830)" (#831)
MishigUnverified signatureThis reverts commit 91cc07e126e4028968bcfcccecd37af3b7959e34.b63aabe -
[Assistants settings] Fix freezing (#830)
MishigUnverified signature91cc07e -
Allow customising defaultQuery for native Azure OpenAI support (#822)
Unverified signatureThe api-version is a required query parameter for Azure OpenAI, by supporting this we can support it without a gateway like portkey. Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>7c4d92a
-
[Privacy page] Skip disclaimer modal including `basePath` (#829)
MishigUnverified signature8d2d653 -
filter system messages when building prompt
Unverified signature1305730 -
fix assistant prompt examples
Unverified signature8074ead -
Conversation trees (#223) (#807)
Unverified signature* work on branching * branching * work on input field * wip * wip * helper stuff * pass tests * add type guards and clean up type requirements * fixed shared conv type * more helpers stuff * clean up code * addChildren helper * addSibling * add test for addSibling & refacto addChildren tests * backend work pt. 1 * backend done * add children property to messages for easier frontend rendering * fix message id type rail * front-end work on simple linear conversation * fix title generation * convert conversations on post * server side retry works with branching * clean up buttons * fix retry feature backend * Send new messages in any subtree * make edit previous prompts feature work * fix padding * revert unneeded changes * bring back pending message * fix front-end streaming * fix initial message * Revert "fix initial message" This reverts commit 6257fe8789c52a20e7506aa453efda55c16e95bb. * …e6addfc -
[Assisntats reports] Minor fixes (#827)
Mishig +1: nsarrazin Unverified signature* [Assisntats reports] Minor fixes * Update src/routes/settings/assistants/[assistantId]/+page.server.ts Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>89ae59b -
[Assistants] Add new indices for efficient querying (#810)
MishigUnverified signature* [Assistants] Add new indeices for efficient querying * update indices & use `createdById` * stronger typingdb943f9 -
Ask for a reason when reporting assistants (#825)
Unverified signature* Show modal asking for assistant report reason * fix disabled button styling * parse with zod * Update src/routes/settings/assistants/[assistantId]/ReportModal.svelte Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * use a text area with max-w --------- Co-authored-by: Victor Muštar <victor.mustar@gmail.com>3109a5e
-
Simple Email Authorization (#801)
Unverified signature* Add ALLOWED_USER_EMAILS validation in login callback * Update src/routes/login/callback/+page.server.ts Adding email validation Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> * Update src/routes/login/callback/+page.server.ts More detailed error when missing email Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>7b7114b -
Make lorax openai endpoint working (#755)
Unverified signaturemake base model for lorax inference working Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>10d7a5a -
Added support for SearXNG as a websearch source (#805)
Karlostavitch1 +1: nsarrazin Unverified signature* Created searchSearxng.ts for querying and parsing searxng instance. Added searxng to the searchWeb.ts to ensure inclusion in the search initialisation script. Added searxng to +layout.server.ts to ensure the search button is enabled if url provided in .env.local assignment Updated .env to include searxng configuration Updated README.md under Web Search Config to mention addition of searxng URL use in .env * Changes requested consolidated env variable to SEARXNG_QUERY_URL (felt considering the content the word QUERY was more relevant) refactored the searchSearxng.ts to generate the query with the new variable updated related references to variable (.env, searchWeb.ts and +layout.server.ts) Updated readme and variable comment on .env to reflect the same * urefectored to display SearXNG in search dialoge when used. * lint * types --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>7c22da3 -
🗃️ Create index on users.username (#819)
Eliott CUnverified signature* 🗃️ Create index on `users.username` * 🗃️ Do not do db.assistants.find({modelId: {$exists: true}) since it's always true881070b
-
Only use plausible if PUBLIC_ORIGIN is set (#814)
Unverified signature450bfce
-
[fix] If APP_BASE is empty, go to '/' instead of an empty string. (#785)
Unverified signature* if APP_BASE is empty, go to '/' instead of an empty string. * run prettier --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>fead39f
-
Only pull from settings where the assistant is present (#806)
Unverified signature3c372b8 -
[Assistants] update numbering labels (#811)
MishigUnverified signature03202d0 -
/assistants: add user count (#809)
Unverified signature* add user count * Update formatUserCount.ts * add 50-99 range * Update src/lib/utils/formatUserCount.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>150c8c1 -
[Privacy page] Skip disclaimer modal (#808)
MishigUnverified signatured7cafed -
fix continue button on openai endpoint (#803)
Unverified signature12e7e30
-
[Assistants] update page & visiblity logic (#802)
MishigUnverified signature* Always show community tab * Change assistants visiblity logic * ui hint * comment out * unused icon for now * re-use variable69684cd -
[Chat input] Blur on submit (#790)
MishigUnverified signature* [Chat input] Blur on submit * nuance * extra comment * focus only on desktop0a4f58c -
[Frontend] keypress -> keydown (#800)
MishigUnverified signature3edef03 -
[Assitants] Community | User tabs (#773)
Mishig +1: victor Unverified signature* [Assistants] Add pagination * [Assitants] Community | User tabs * format * minimize diff * Update src/routes/assistants/+page.svelte Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * use data.user * rm unused import * Use a href & simplify overall * lint * it will never be a button * statements need to be reactive * format * set filter differntly * Revert "set filter differntly" This reverts commit fc8a2fc67463fb5ad39be3c3ae16ce74caa1f05d. * use inline * avoid ugly image change * fix query * ui update * update link to profiles * link to HF profile * dark mode * Update +page.svelte * refactor getHref to be more descriptive * Preserve `user` searchQuery when chaning model ids * `getHref` utility * dont show single "Community" btn for non-logged in users * fix iterator --------- Co-authored-by: Victor Muštar <victor.mustar@gmail.com>08e8583
-
[Assistnats] improve reporting (#797)
MishigUnverified signature* [Assistnats] improve reporting * typo * make it more general * typo * update prodEnv script * Update scripts/updateProdEnv.tse9f817c -
[Login Modal] Fix not showing properly on mobile (#796)
MishigUnverified signature4ade85f
-
[Chat input] Fix asian keyboards (#789)
MishigUnverified signature6d68eb5 -
Several QoL contributions (#760)
Luke +1: nsarrazin Unverified signature* allow customizing disclaimer as `PUBLIC_APP_DISCLAIMER_MESSAGE` * support passing `defaultHeaders` to `openai` endpoint * add azure openai, claude, mistral examples using `defaultHeaders` & `openai` endpoint * fix streaming being buffered behind cloudflare tunnel might help to relieve issue #598 * support new lines in model description * don't automatically generate modelUrl to huggingface fixes broken links for self-hosted or custom-named model * add `PUBLIC_APP_DISCLAIMER_MESSAGE` in `.env` * `npm run format` --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>73a5c0d -
[Fix] on cancel operations, preerve previous URL query params (#781)
MishigUnverified signaturebbbedb7
-
[Assistants] Fix selected model reactivity (#784)
MishigUnverified signature2128ce0 -
[Assistants] Fix/clear searchParams while changing models (#783)
MishigUnverified signature* [Assistants] Fix/clear searchParams while changing models * fix another reactivity bugf3c82b6 -
[Assistnats] Fix pagination numTotalPages (#780)
MishigUnverified signature* [Assistnats] Fix pagination numTotalPages * morereactivity2468399 -
add alternative callback url (#766)
Kevin CATHALY +2: Kevin CATHALY, nsarrazin Unverified signatureCo-authored-by: Kevin CATHALY <alakme@kevins-mbp.home> Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>3890de7 -
Add Plausible analytics (#779)
Unverified signature* Add Plausible analytics * Update src/routes/+layout.svelte Co-authored-by: Eliott C. <coyotte508@gmail.com> * fix vars for plausible analytics * Update .env.template Co-authored-by: Eliott C. <coyotte508@gmail.com> * revert change to PUBLIC_PLAUSIBLE_SCRIPT_URL --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>dddb85f -
[Assistants] Add pagination (#772)
Mishig +1: victor Unverified signature* [Assistants] Add pagination * Update src/lib/components/PaginationArrow.svelte Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * format * Simplify by using a href * this statement needs to be reactive * simplify pagination * update disabled * Update src/routes/assistants/+page.server.ts --------- Co-authored-by: Victor Muštar <victor.mustar@gmail.com>25a7ba5 -
Disable websearch on assistants, server & client side (#778)
Unverified signature* Disable websearch on assistants, server & client side * Update src/routes/conversation/[id]/+page.svelte Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * missing comma --------- Co-authored-by: Victor Muštar <victor.mustar@gmail.com>b3c073e -
Use assistant avatar in conversation, if available (#776)
Unverified signature5eb8f00
-
assistants: add hint (#767)
Unverified signature* add hint * Update src/routes/assistants/+page.svelte Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>9574269 -
Make assistant feature visible globally (#756)
Unverified signature* Make assistant feature visible globally * Remove flag also here5e2108d -
Convert all assistants avatar to jpeg server-side (#762)
Unverified signature* Convert all assistants to jpeg server side, and rename endpoint appropriately * Improve avatar validation/error display * preserve aspect ratio on resize * Update src/lib/components/chat/ChatMessages.svelte Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>91ec91f -
Bring back featured check on top assistants page (#765)
Unverified signature0b2a549 -
add an api endpoint to get current user's informations (#763)
Kevin CATHALYUnverified signatureb954b26 -
fix linting on main
Unverified signature269e9b5 -
Assistants: UI tweaks for release (#764)
Unverified signature* increase settings visibility * hideemojis = hide assistants avatars * mobile * text balance * Revert "hideemojis = hide assistants avatars" This reverts commit 6ec0d689cb2f446590cf2b137e9c3d0482a16a81. * always show assistant avatar * mobile scroll to assistants * rm comment * full width start message * /assistants thumbnail * model selector * width * font-size * lint * min width on desktop too --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>8fe2aef
-
Hide websearch on assistants (#759)
Unverified signature* Hide websearch on assistants * better way to do it15ecf06 -
beta tag (#758)
Unverified signature1f50904