Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assistants feature #639

Merged
merged 72 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
e85d1e1
First push on assistants
nsarrazin Dec 15, 2023
3ba2eea
push fixes
nsarrazin Dec 20, 2023
40a6a96
fix add assistant
nsarrazin Dec 20, 2023
20cfabf
Sign up works
nsarrazin Dec 20, 2023
835874b
lint
nsarrazin Dec 20, 2023
0240db1
mobile layout fixes
nsarrazin Dec 20, 2023
78be831
design fixes
nsarrazin Dec 20, 2023
2a8821c
Merge branch 'main' into feature/assistants
nsarrazin Dec 20, 2023
7dc10ab
fix copy button
nsarrazin Dec 20, 2023
0eea54c
Merge branch 'main' into feature/assistants
nsarrazin Dec 20, 2023
3ad46cb
add error feedback
nsarrazin Dec 21, 2023
5b3ee70
hide duplicate feature
nsarrazin Dec 21, 2023
128c5a3
remove wrong comments
nsarrazin Dec 21, 2023
1be810e
add autoredirect if assistant is missing
nsarrazin Dec 22, 2023
6b8d089
latest changes:
nsarrazin Dec 22, 2023
f90dfc4
Update src/routes/conversation/+server.ts
nsarrazin Dec 22, 2023
626ba66
reused type more cleanly
nsarrazin Dec 22, 2023
41a5971
fix type in shared conversation
nsarrazin Dec 22, 2023
f84c86a
fixed feature
nsarrazin Dec 22, 2023
f6f24a5
fix: share conv with an assistant
nsarrazin Dec 26, 2023
6ec25e8
delete assistant avatars in db when deleting avatar
nsarrazin Dec 26, 2023
efdff6c
affordance on avatar upload
nsarrazin Dec 26, 2023
c52766e
improve assistant conv start on mobile
nsarrazin Dec 26, 2023
a34b9eb
settings modal fly in
nsarrazin Dec 26, 2023
ed87314
better mobile intro
nsarrazin Dec 26, 2023
7439d95
mobile padding
nsarrazin Dec 26, 2023
9d40d31
link affordance
nsarrazin Dec 26, 2023
31a4941
Make assistants disabled by default, but enabled in huggingchat
nsarrazin Dec 27, 2023
b8fe23b
Merge branch 'main' into feature/assistants
nsarrazin Dec 27, 2023
0c91f2d
lint
nsarrazin Dec 27, 2023
0d83189
Fix bottom model name
nsarrazin Dec 28, 2023
a27e1c8
ui tweaks
gary149 Dec 29, 2023
ea18583
Initial work on chat thumbnails
nsarrazin Dec 29, 2023
e09eefa
fix build
nsarrazin Dec 29, 2023
4ebedfe
Get rid of deps
nsarrazin Dec 30, 2023
9499dec
Update src/routes/settings/assistants/[assistantId]/avatar/+server.ts
nsarrazin Jan 8, 2024
3db13f4
add comment to app_base
nsarrazin Jan 8, 2024
8eb6cb4
Use event modifiers
nsarrazin Jan 8, 2024
e7b4bad
Use CSS uppercase instead everywhere
nsarrazin Jan 8, 2024
58ac13e
Update src/lib/components/NavMenu.svelte
nsarrazin Jan 8, 2024
092ff0a
Update src/routes/+layout.server.ts
nsarrazin Jan 8, 2024
51b4354
Clearer error message for avatar size check
nsarrazin Jan 8, 2024
a15c24c
Merge branch 'main' into feature/assistants
nsarrazin Jan 8, 2024
ae1e38b
one less op on flag check
nsarrazin Jan 9, 2024
bb3d452
revert back preventDefault change in LoginModal
nsarrazin Jan 9, 2024
88b18a0
Merge branch 'main' into feature/assistants
nsarrazin Jan 9, 2024
363653f
Update src/routes/settings/+layout.svelte
nsarrazin Jan 9, 2024
048c441
Update src/routes/+layout.server.ts
nsarrazin Jan 9, 2024
bd40c7b
Update src/routes/+layout.server.ts
nsarrazin Jan 9, 2024
35fe5fe
Added app logo in corner of thumbnail and clamped description length
nsarrazin Jan 9, 2024
a2cd7d8
improved thumbnails
nsarrazin Jan 10, 2024
3ba0f51
Remove warnings
nsarrazin Jan 10, 2024
e4c0aea
Reuse Assisntants settings component (#678)
Jan 10, 2024
8eb6b5b
Merge branch 'main' into feature/assistants
nsarrazin Jan 10, 2024
f6c61eb
[Assistants] Use textToImage task for avatar generation (#662)
nsarrazin Jan 15, 2024
69c223d
layout
gary149 Jan 18, 2024
1900083
small fixes
gary149 Jan 18, 2024
744d4a0
hint
gary149 Jan 18, 2024
003cd30
Show feature if login is not required
nsarrazin Jan 18, 2024
7652355
Merge branch 'main' into feature/assistants
nsarrazin Jan 18, 2024
c89c620
lint
nsarrazin Jan 18, 2024
285050f
Only show creator name if it's defined
nsarrazin Jan 18, 2024
5165490
tweaks
gary149 Jan 18, 2024
b672fb7
thumbnail update
gary149 Jan 18, 2024
732e338
thumbnail font-size
gary149 Jan 18, 2024
52834ce
Always display model at the bottom
nsarrazin Jan 22, 2024
11fe137
Bottom links now go to settings
nsarrazin Jan 22, 2024
6da1347
fix lint
nsarrazin Jan 22, 2024
4a12786
silent release
nsarrazin Jan 23, 2024
0ede716
Merge branch 'main' into feature/assistants
nsarrazin Jan 23, 2024
cf00c70
fix bg on share link
nsarrazin Jan 23, 2024
f3114ae
[Assistant] Delete avatar button instead of reset (#725)
nsarrazin Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ PARQUET_EXPORT_SECRET=
RATE_LIMIT= # requests per minute
MESSAGES_BEFORE_LOGIN=# how many messages a user can send in a conversation before having to login. set to 0 to force login right away

APP_BASE="" # base path of the app, e.g. /chat, left blank as default
PUBLIC_APP_NAME=ChatUI # name used as title throughout the app
PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETS
PUBLIC_APP_COLOR=blue # can be any of tailwind colors: https://tailwindcss.com/docs/customizing-colors#default-color-palette
Expand All @@ -113,4 +114,6 @@ LLM_SUMMERIZATION=true
# PUBLIC_APP_COLOR=yellow
# PUBLIC_APP_DESCRIPTION="Making the community's best AI chat models available to everyone."
# PUBLIC_APP_DATA_SHARING=1
# PUBLIC_APP_DISCLAIMER=1
# PUBLIC_APP_DISCLAIMER=1

ENABLE_ASSISTANTS=false #set to true to enable assistants feature
2 changes: 2 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,5 @@ PUBLIC_GOOGLE_ANALYTICS_ID=G-8Q63TH4CSL
# Not part of the .env but set as other variables in the space
# ADDRESS_HEADER=X-Forwarded-For
# XFF_DEPTH=2

ENABLE_ASSISTANTS=true
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
},
"eslint.validate": ["javascript", "svelte"]
}
Loading