Spaces:
Paused
Paused
Commit History
-
fix: make sure document parser is disabled if not required
67302d2
-
New `InferenceClient` endpoint type (#1813)
Unverified signature* work on hf inference endpoint * working tools * fix: debug tool * feat: working tools with new endpoint type * feat: move config to HfInference * wip * fix: hf inference endpoint * refactor: rename endpoint * fix: rendering * feat: working tools on every supported model * fix: multimodal * refactor: rename endpoint type * refactor: base URL * fix: prevent simultaneous provider and baseURL usage * fix: disable tools on qwen 2.5 vl * feat: make sure json is correctly formatted4906f37
-
feat: allow storing env variable in DB (#1802)
Unverified signature* feat(config): wip, make config controllable from DB, public side for now * fix: build * feat(config): add config manager env var toggle * wip: make backend config use config manager * fix: typechecks * fix: circular import * refactor: init hook sveltekit * fix: disable config manager during tests * refactor: use enum for semaphore, move delete from auto after 60s to separate `deleteAt` field * feat: config manager checks for updates on requests * fix: config script exit * fix: remove top-level awaits * fix: script await * feat: filter config keys based on public environment variables for more security * fix: change import to type for public environment variables48059af
-
fix: improve tasks performance
28b6d44
-
feat(tasks): use tools for tasks if available (#1749)
Unverified signature* feat(tasks): use tools for web search query if available * feat(websearch): improve query generation with error handling and logging * feat(tools): implement generic tool output extraction utility This commit adds a new `getToolOutput` utility to standardize tool interaction across different tasks like title generation, reasoning summary, and web search query generation. The utility supports extracting tool outputs using a consistent approach, with fallback mechanisms and error handling.6655689
-
chores(svelte): migration to svelte 5 (#1685)
Unverified signature* chores(svelte): migration to svelte 5 * chores(svelte5): remove preventDefault & stopPropagation legacy handlers * chores(deps): version bumps * fix: closing modal works properly * fix: messagte loading reactivity * fix: loading indicator * fix: conversation list reactivity * fix: bug on tool logo rendering * fix: infinite loading circular dep * feat: hide new chat button on new chats * fix: move apply directive to main.css * fix: remove legacy syntax in `TokensCounter.svelte` * fix: replace legacy `run` with Svelte 5 `$effect` in NavMenu * fix: replace legacy `run` with Svelte 5 `$effect` in ScrollToPreviousBtn * fix: migrate `settings/[modelId]` page to Svelte 5 syntax * fix: replace legacy `run` with Svelte 5 `$effect` in ToolUpdate component * fix: migrate ToolEdit component to Svelte 5 syntax * fix: simplify login required handling in ChatInputa1a6daf
-
fix: remove hf token from tool calling
Unverified signaturecfb58c1
-
fix: better websearch quotes
e7c09f7 -
feat: add sources for websearch (#1551)
Unverified signature* feat: playwright, spatial parsing, markdown for web search Co-authored-by: Aaditya Sahay <aadityasahay1@gmail.com> * feat: choose multiple clusters if necessary (#2) * chore: resolve linting failures * feat: improve paring performance and error messages * feat: inline citations * feat: adjust inline citation prompt, less intrusive tokens * feat: add sources to message when using websearch * fix: clean up packages * fix: packages * fix: packages lol * fix: make websearch citation work better wiht tools * fix: use single brackets for sources, only render source element if a matching source is available * fix: bad import --------- Co-authored-by: Liam Dyer <liamcdyer@gmail.com> Co-authored-by: Aaditya Sahay <aadityasahay1@gmail.com> Co-authored-by: Aaditya Sahay <56438732+Aaditya-Sahay@users.noreply.github.com>69dee14
-
fix(tools): tool call name must be a valid python variable name (#1466)
Unverified signature0c29e99
-
fix(tools): regex validation
1f110a3 -
fix(prompt): better prompting when gradio tools return a file
be1f03e -
feat(tools): specify either space namespace or huggingface.co URL (#1435)
Unverified signatureba9c926 -
fix(tools): better parse MIME types in tool outputs
dd4a8d9 -
fix(tools): add support for JSON tool outputs
3842198
-
fix(tools): show error in inputs
Unverified signaturea329687
-
fix(tools): remove debug logs
Unverified signatureb924cc9 -
fix(tools): show errors properly with new stream
Unverified signatureae65508 -
fix(tools): support for video
Unverified signatureed74852 -
fix(tools): remove debug log
Unverified signature51f6328 -
feat(tools): use gradio ETA for tools (#1411)
Unverified signature15baec4 -
fix(tools): make show output button work
Unverified signature09ed06c
-
feat(tools): add `File` support
Unverified signaturea540a9d -
feat(tools): add support for video outputs
Unverified signaturefd14f95 -
feat(tools): add support for audio output
Unverified signature332ed42 -
fix(tools): increase value max length
Unverified signaturea60e6a4
-
fix(tools): increase limits on input sizes
Unverified signature05c6eff -
feat(tools): add support for number outputs
Unverified signaturea7fff37 -
Community tools (#1250)
Unverified signature* 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…0c3e3b2
-
fix(tools): improve json parsing (#1356)
Unverified signature* fix(tools): improve json parsing * lintcce2203 -
feat(models): Llama 3.1 support (#1355)
Unverified signature* feat(models): Add llama 3.1 405B and 70B * feat(tools): improve tools support for llama 3.1 models * feat(models): update mistral to latest * feat(models): use llama 3.1 8B for tasks * fix(tools): disable tools by default * feat(models): update model descriptions in huggingchat * fix(front): show branding for llama 3 * fix(config): fix encoding * feat(migrations): reset tools for everyone * feat(config): replace orgs with final org * feat(config): update website for llama 3.1d947276
-
Add SD3 as a tool (#1279)
Unverified signature* Add SD3 as a tool * add commentsb6d5d03
-
feat: mime types on tools, show upload btn on demand (#1204)
Liam Dyer +2: nsarrazin, victorUnverified signature* 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>fd7f926
-
feat: request model be concise on tool image outputs (#1202)
Liam DyerUnverified signaturef6440ab
-
Simplify tool error handling (#1168)
Liam Dyer +1: MishigUnverified signature* feat: simplify tool error handling * feat: resolve linting and type errors --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>aa0485a -
Bypass spaces tools rate limit (#1167)
MishigUnverified signature* Bypass spaces tools rate limit * DRY * optimize * use `context` for userId & ip * lint * user `userName` * fix merge conflict * rn `userName` -> `username`719022a
-
Add error message for tools (#1163)
Liam Dyer +1: nsarrazinUnverified signature* feat: add error message for tools * lint --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>baa4992
-
Function calling (#996)
Unverified signature* 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 *…564e576