* 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.
* 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.1
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>
feat: request model be concise on tool image outputs (#1202)
Liam Dyer
Unverified signature
2beb933
Simplify tool error handling (#1168)
Liam Dyer+1: Mishig
Unverified signature
1bbbb2d
* feat: simplify tool error handling
* feat: resolve linting and type errors
---------
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
Bypass spaces tools rate limit (#1167)
Mishig
Unverified signature
c0c1253
* Bypass spaces tools rate limit
* DRY
* optimize
* use `context` for userId & ip
* lint
* user `userName`
* fix merge conflict
* rn `userName` -> `username`
* 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
*…