Add support for Jinja for chat model templates (#1739)
Ben Lewis+1: nsarrazin
Unverified signature
3aa87af
* Add support for Jinja for chat model templates
* feat(docs): improve docs regarding templates
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
* 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(chat): auto-open reasoning results on loading
* feat(front): move markdown parsing to web worker
* feat: use webworker for markdown parsing
* feat(markdown-worker): implement message buffering and processing
* fix(markdown): import KaTeX CSS locally instead of via CDN
* fix(markdown): make sure messages are serializable
* feat(markdown): make sure links have target blank
* refactor(markdown): improve HTML escaping function formatting
* feat: move reporting functionality to API for assistants and tools
* feat: add review API endpoints for assistants and tools
* feat(api): setup delete API endpoints for assistants and tools
* fix: show toast error if endpoint throws error
* feat(api): add subscribe/unsubscribe API endpoints for assistants
* fix: lint
* refactor: use API endpoints for assistant creation/edit
* feat: delete tool forms
* feat: use API endpoints for tool creation/edit
feat(api): replace form-based branch deletion with fetch API (#1694)
* 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 ChatInput
feat: Enhance toast display to improve user experience (#1689) (#1690)
ishatalkin
Unverified signature
85aaf3f
1. Updated the Toast component to add a maximum width for the message to prevent it from stretching across the full screen.
2. Increased the timeout duration for error toasts from 3 seconds to 10 seconds to ensure long messages are readable.