-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Community tools #1297
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gonna merge this in the parent branch with the linting failing but will fix it there |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Very very wip, to test locally
npm run updateLocalEnv
npm run populate reset all