* 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 tr…
feat: mime types on tools, show upload btn on demand (#1204)
Liam Dyer+2: nsarrazin, victor
Unverified signature
33592b9
* feat: mime types on tools, show upload btn on demand
* feat: enable and disable all tools button
* feat: minor tools ui changes and nits
* Only paste or drop the allowed MIME types (#1222)
* Only allow specific MIME types when pasting
* lint
* Simplify upload button show logic
Since we already take into account if the model is multimodal above
* Add mime type check to file dropzone
* Make error clearer
* enable/disable same button
* cs
* rm unused
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
Co-authored-by: Victor Mustar <victor.mustar@gmail.com>
* Initial work on function calling
* wip
* Add websearch as a tool
* lint
* smol
* Move tools to their own files
* directly answer check
* Add text2img tool
* group tool calls together
* show retry even if no message
* fix trailing urls
* Add image popup
* format
* wip
* clean-up
* better loading indicator
* text colors
* extra example to summarize
* switch default model
* Add fetchUrl tool
* wip
* Add latest gradio
* fix types
* version bump sharp
* Basic tools menu
* working menu
* fix menu positioning
* deps fix
* add deps
* cleanup
* more cleanup
* cleanup
* package cleanups
* moar cleanup
* ui update
* Update ChatMessage.svelte
* upgrade gradio dep
* lint
* refactor and pass results to cohere
* feat: code interpreter tool
* fix: add e2b dependency
* feat: working TGI endpoint with tool results
* feat: allow image model to expand to 90dvw
* fix: dont block on title gen
* bump sharp
* misc cleanup
* fix url fetcher, adjust tool typing
*…