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 -
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
-
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 -
[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
-
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 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 -
fix continue button on openai endpoint (#803)
Unverified signature12e7e30
-
[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
-
[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
-
[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 -
[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 -
Use assistant avatar in conversation, if available (#776)
Unverified signature5eb8f00
-
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 -
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
-
beta tag (#758)
Unverified signature1f50904 -
Top assistants page (#740)
Unverified signature* Basic top assistants page * remove featured check * fix edit * ui update * ui * mishig review * fix * move feedback link to settings * misc * Hide unlisted models in assistants flow * settings + public label * tweak * font-size * Hide top assistant page for soft release * always show author --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>786115c
-
Mobile navs: bigger buttons and hide new? (#720)
Unverified signature* bigger buttons and hide new * icon updatea03d289 -
Remove tabs in websearch prompt (#754)
Unverified signaturedc86148 -
Web search: UI update (#749)
Unverified signature* wip * ui * font-size * leading * smaller * move icon and remove loading props * rm inline svg * rm animationbccd811 -
update news (#753)
MishigUnverified signature3941b41
-
fixes (#733)
Unverified signature719f09e
-
Assistants feature (#639)
Unverified signature* First push on assistants * push fixes * fix add assistant * Sign up works * lint * mobile layout fixes * design fixes * Merge branch 'main' into feature/assistants * fix copy button * add error feedback * hide duplicate feature * remove wrong comments * add autoredirect if assistant is missing * latest changes: - add edit feature - hash assistant avatar - get rid of ugly line - check for non existent avatar - make a better looking upload icon * Update src/routes/conversation/+server.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * reused type more cleanly * fix type in shared conversation * fixed feature * fix: share conv with an assistant * delete assistant avatars in db when deleting avatar * affordance on avatar upload * improve assistant conv start on mobile * settings modal fly in * better mobile intro * mobile padding * link affordance * Make assistants disabled by default, b…992a8de -
[Fix] small fixes in websearch generateQuery (#727)
MishigUnverified signature13489e8 -
[SmallModel] Nit update the comment (#726)
MishigUnverified signature* [SmallModel] Nit update the comment * even more precise77adc4d
-
Continue generation feature (#707)
Unverified signature* Initial work on continue feature * Move continue button * Fix websearch with continue * Make it work with every model * Update src/routes/conversation/[id]/+server.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * fixes * async all the things * add reduce comment * remove log * Only show loading indicator if not continuing --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>77399ca -
Use JSON5 for embeddings (#719)
Unverified signature6e0b0ea -
[Fix] UI bug "Delete" label (#717)
MishigUnverified signaturea6e6ee6 -
[JS] use shorthand notation (#711)
MishigUnverified signature* [JS] use shorthand notation * add `"object-shorthand": ["error", "always"],` * fix "Expected method shorthand object-shorthand" * formatd5559df
-
Revert "[Small model] Explicitly close AsyncGenerator" (#709)
MishigUnverified signature7179080
-
[Small model] Explicitly close AsyncGenerator (#704)
MishigUnverified signature01418cd
-
Mv embeddingEndpoints.ts (#688)
MishigUnverified signature* Mv embeddingEndpoints.ts * relative import41f8b74
-
Add embedding models configurable, from both transformers.js and TEI (#646)
Unverified signature* Add embedding models configurable, from both Xenova and TEI * fix lint and format * Fix bug in sentenceSimilarity * Batches for TEI using /info route * Fix web search disapear when finish searching * Fix lint and format * Add more options for better embedding model usage * Fixing CR issues * Fix websearch disapear in later PR * Fix lint * Fix more minor code CR * Valiadate embeddingModelName field in model config * Add embeddingModel into shared conversation * Fix lint and format * Add default embedding model, and more readme explanation * Fix minor embedding model readme detailed * Update settings.json * Update README.md Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * Update README.md Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * Apply suggestions from code review Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * Resolved more issues * lint * Fix more issues …3a01622
-
Apply settings without reloading the page (#682)
Unverified signature* Invalidate conversation list when settings update * improve trimming on conv titles * Update src/routes/+layout.server.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>cdb33a9