Spaces:
Paused
Paused
Commit History
-
fix: rm error in retrying when tool calls are not parsed properly
a327608
-
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
-
fix(endpoints): fix for tool calling on hf inference with openai endpoint type (#1754)
Unverified signature* fix(endpoints): fix for tool calling on hf inference with openai endpoint type * moar fix * fix: typechecks185c2ff
-
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
-
Anthropic Tool Support (#1594)
evalstate +1: nsarrazinUnverified signature* support anthropic PDF beta * upstream merge, remove commented out console log line * Fixing type errors. the anthropic API does not yet include a "DocumentBlock" for support PDFs, so an extended type has been added to the endpoint. * changed document processor to async (matching image processor) * use the beta api types rather than custom extension * rudimentary tool testing * interim commit (tool re-passing, file handling) * remove merge error * tidy up, isolate beta classes to utils * anthropic tool calling support. * improve handling of directlyAnswer tool * fix streaming * slight tidy up to tools flow handling * fix: dont pass tools in final generation, instead deduce tools from tool results --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>69d5a1c
-
feat: new tool UI (#1630)
Unverified signature* feat: new tool UI * wip community tools support * fix: community tools support * fix: line heights * fix: MIME types * fix: remove debug logs * fix: make sure file upload is always last * fix: always enable document parser when a pdf is present in the conversation * fix: use correct icon for document upload * fix: make sure community tools use their custom icons correctly * feat: add button to browse community tools * tweak buttons * add some tooltips * fix: bug in file upload tooltips * fix: lint --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>b104edb
-
fix: error reporting in tool calling
Unverified signaturec75addc -
feat: improve tool calling & add tools to qwen 2.5 72b (#1615)
Unverified signature* fix: clean up tool calling more inline with latest changes in transformers lib and adds tool calling to qwen 2.5 72b * fix: add more field name options * fix: make tool calls a bit more robust642ce40
-
feat(endpoints): Add conv ID to headers passed to TGI (#1511)
Unverified signature791e118
-
fix(assistants): remove websearch from assistant tool options, add websearch in backend logic (#1465)
Unverified signaturecloses #1464439b391
-
fix(assistants): only enable websearch on assistants with RAG (#1452)
Unverified signature29ea0af
-
feat(assistants): use community tools in assistants (#1421)
Unverified signature* wip: give assistant tool access * add api endpoints * add/delete tools from assistant settings * make tools work with assistants * feat(tools): add more tools indicator throughout UI * formatting10b8070
-
feat(tools): use gradio ETA for tools (#1411)
Unverified signature15baec4 -
fix(tools): make show output button work
Unverified signature09ed06c
-
fix(tools): show error cause
Unverified signatured6102a1 -
feat(tools): more detailed errors from tools
Unverified signaturec31c50e
-
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(logs): improve logging
Unverified signature941d09c
-
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
-
Revert "Request less `max_new_tokens` on tools and reduce `truncate` on CMD R+ (#1292)"
This reverts commit c1fc4f94ad7424c3e5faab5051ddfd3c63b9bcb4.29ce6ea -
Request less `max_new_tokens` on tools and reduce `truncate` on CMD R+ (#1292)
Unverified signatureRequest less `max_new_tokens` on tools and reduce `truncate` on Command R+7bda7a0
-
Trim trailing comma on tool calls (#1229)
Liam DyerUnverified signature* feat: trim trailing comma on tools results * feat: clearer tool call parsing failure message3ce3e36
-
Generic tool error msg "Error occurred" (#1193)
MishigUnverified signature59077fd -
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 metrics for models, tools, websearch (#1186)
Unverified signature* Add custom metrics for messages and conversations * lint * Add metrics for - model health - tools - websearch * Add time window & age buckets to summaries * Increase max age for tool use duration --------- Co-authored-by: antoniora <antonio.ramos@adyen.com>6e18e46
-
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