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

Community tools #1297

Merged
merged 21 commits into from
Jul 1, 2024
Merged

Community tools #1297

merged 21 commits into from
Jul 1, 2024

Conversation

nsarrazin
Copy link
Collaborator

@nsarrazin nsarrazin commented Jun 20, 2024

Very very wip, to test locally

npm run updateLocalEnv
npm run populate reset all

image
image
image
image

@nsarrazin nsarrazin added front This issue is related to the front-end of the app. back This issue is related to the Svelte backend or the DB tools labels Jun 20, 2024
@nsarrazin nsarrazin changed the base branch from main to feat/community_tools June 20, 2024 15:55
@nsarrazin nsarrazin changed the title Feat/tools page Community tools Jun 20, 2024
@nsarrazin nsarrazin marked this pull request as ready for review July 1, 2024 10:30
@nsarrazin
Copy link
Collaborator Author

gonna merge this in the parent branch with the linting failing but will fix it there

@nsarrazin nsarrazin merged commit 75e3c83 into feat/community_tools Jul 1, 2024
3 of 4 checks passed
@nsarrazin nsarrazin deleted the feat/tools_page branch July 1, 2024 10:31
nsarrazin added a commit that referenced this pull request Aug 12, 2024
* wip community tools

* push

* fix

* bugfix

* pass inputs to gradio correctly

* full inputs for imagegen

* lint

* update gradio

* fix call to gradio

* fix imagegen tool

* fix name

* fix image display

* Community tools (#1297)

* work on tools

* wip

* icon

* page

* use IDs for every tools

* improve tools page

* wip

* add optimized deps

* refacto 1tool=1function

* Add preview page

* fix active indicator

* fix text alignment

* fix populate script

* tooledit

* fixes

* better inputs

* fix console error & cancel button

* upload new tools

* edit

* improve lint

* working community tools

* fix active featured check

* Simplify outputs in user form

* fix non file outputs

* fix imagegen default tool

* add community tools popup

* redirect gradio API calls through chat-ui backend

* better usecount

* Better loading & output element

* better redirects & auto activate

* bugfixes

* fix migration changes

* Add feature flag for tools

* fix tools menu

* Keep track of output component index

* fix null check

* catch error for spaces config

* wip: MIME types

* wip: rework tools to use filenames

* fix broken tool calling

* fix input tools

* Working files

* fix(form): bind on name

* fix(prompt): double system prompt

* fix(prompt): file list

* fix(tools): make sure tools are off by default

* Add description to ToolEdit

* Display runs

* feat(tools): add back document parser

* feat(tools): bring back image editing tool

* fix MIME types

* Fix file passing prompts

* fix lint

* Set tools to default in migration

* Revert "Set tools to default in migration"

This reverts commit 87fdd09.

* Use correct space for official image generation

* Remove debug logs

* fix(redirect): working redirect when no `APP_BASE`

* sveltekit 2 migration

* fix types with gradio update

* fix name based searching

* fix cut titles

* add min & max

* add error if no endpoint

* make form not submittable until it's filled

* fix return

* Better support for varied input types

* fix(update): hide null values for params that have not been called explicitly by the model

* add extra migration for transition

* fix document parser mime types
ice91 pushed a commit to ice91/chat-ui that referenced this pull request Oct 30, 2024
* wip community tools

* push

* fix

* bugfix

* pass inputs to gradio correctly

* full inputs for imagegen

* lint

* update gradio

* fix call to gradio

* fix imagegen tool

* fix name

* fix image display

* Community tools (huggingface#1297)

* work on tools

* wip

* icon

* page

* use IDs for every tools

* improve tools page

* wip

* add optimized deps

* refacto 1tool=1function

* Add preview page

* fix active indicator

* fix text alignment

* fix populate script

* tooledit

* fixes

* better inputs

* fix console error & cancel button

* upload new tools

* edit

* improve lint

* working community tools

* fix active featured check

* Simplify outputs in user form

* fix non file outputs

* fix imagegen default tool

* add community tools popup

* redirect gradio API calls through chat-ui backend

* better usecount

* Better loading & output element

* better redirects & auto activate

* bugfixes

* fix migration changes

* Add feature flag for tools

* fix tools menu

* Keep track of output component index

* fix null check

* catch error for spaces config

* wip: MIME types

* wip: rework tools to use filenames

* fix broken tool calling

* fix input tools

* Working files

* fix(form): bind on name

* fix(prompt): double system prompt

* fix(prompt): file list

* fix(tools): make sure tools are off by default

* Add description to ToolEdit

* Display runs

* feat(tools): add back document parser

* feat(tools): bring back image editing tool

* fix MIME types

* Fix file passing prompts

* fix lint

* Set tools to default in migration

* Revert "Set tools to default in migration"

This reverts commit 87fdd09.

* Use correct space for official image generation

* Remove debug logs

* fix(redirect): working redirect when no `APP_BASE`

* sveltekit 2 migration

* fix types with gradio update

* fix name based searching

* fix cut titles

* add min & max

* add error if no endpoint

* make form not submittable until it's filled

* fix return

* Better support for varied input types

* fix(update): hide null values for params that have not been called explicitly by the model

* add extra migration for transition

* fix document parser mime types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back This issue is related to the Svelte backend or the DB front This issue is related to the front-end of the app. tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant