Spaces:
Running
Running
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
-
retry text area height (#1091)
Unverified signature1b24189
-
🎨 Add color for copy icon (#1070)
Damián PumarUnverified signature745e51e
-
Add support for Meta Llama 3 70B in HuggingChat (#1029)
Unverified signature8582ce1
-
Update marked from v4 to v12 (#1015)
Liam DyerUnverified signaturefeat: update marked from v4 to v12305971b
-
Show the assistant model name in the chat input (#1006)
Unverified signature2435b95
-
modal wording (#1000)
Unverified signature* wording * format --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>fe072ba
-
Update models and add check for assistants model on startup (#998)
Unverified signature* Remove old models from .env.template * Make sure we always have a visible model in assistant settings * Always show correct info in chat window * Add migration that runs on every server start to update assistant model * change key * fix tests * Update src/lib/migrations/migrations.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * review * Update src/lib/components/chat/ChatWindow.svelte Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * revert duplicate Model: * simplify deprecated check --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>29b7d2a
-
User count update (#970)
Unverified signature* add more range * display on assitant page tooeb956bc -
Fix button placement on assistant edit/create form (#962)
Unverified signature* Fix button placement on assistant edit/create form * rm unnecessary changes * Fix alignmentdf27d77 -
Add share button for assistant intro page (#960) (#965)
Unverified signature* Add share button for assistant intro page * Fix padding on share assistant * gap --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>55af70d
-
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
-
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
-
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
-
Modals: dont close if text is selected (#943)
Unverified signaturedont close if text is selected999407a
-
Update AssistantSettings.svelte (#941)
Unverified signature2ce726f
-
Show error when webpage cannot be reached or parsed (#930)
Unverified signaturee04d4e8 -
Remove extra > in URLs (#931)
Unverified signature89f9b29
-
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
-
fix: Prompt bypasses login (#921)
Kartik ShettyUnverified signatureFixes#879 checking login requirement in chat window2edb278
-
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
-
[Assisntans filter] More UX fixes (#908)
MishigUnverified signature* [Assisntans filter] More UX fixes * rm unused09eb258
-
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
-
fix retry button showing while loading (#894)
Unverified signaturee283983 -
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
-
/models tweaks (#864)
Unverified signature* direct link to new chat * mobile spacing * show model logo on new chat * temp: hide "new chat" * exemples tweak8ffc49e
-
Allow retry on shared conversations (#839)
Unverified signaturea4e40b1 -
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
-
fix shifted layout (#836)
Unverified signature43714c0
-
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 -
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
-
[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 -
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