forked from huggingface/chat-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Restore tool calls UI #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fix(chat): update file type matching fix upload image from clipboard when type is `*` Co-authored-by: Nathan Sarrazin <[email protected]>
* feat(prod): add gemma 3 to prod config * feat: add multimodal mode to gemma 3 * docs: update Gemma 3 model description to highlight multimodal support
This reverts commit 002c21b.
…oint type (huggingface#1754) * fix(endpoints): fix for tool calling on hf inference with openai endpoint type * moar fix * fix: typechecks
* feat: improve task model tool calling * feat(prod): add tokenizer for Hermes-3-Llama-3.1-8B to task configuration
* Add support for Jinja for chat model templates * feat(docs): improve docs regarding templates --------- Co-authored-by: Nathan Sarrazin <[email protected]>
* fix: show file picker for assistant with mime types closes huggingface#1652 * fix: lint
Bumps and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). These dependencies needed to be updated together. Updates `vite` from 6.1.0 to 6.2.3 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.2.3/packages/vite) Updates `vite` from 5.4.14 to 6.2.3 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.2.3/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ency fix(ChatWindow): clean up unused code and simplify conditional rendering feat(page): update model link copy button to use CarbonCopy icon
fix(settings page): adjust button spacing and replace CarbonCode icon with CarbonArrowUpRight
fix(OpenReasoningResults): update hover background color for better visibility feat(+page): add search filter for model ID in model list feat(+layout): implement search filter for model ID in settings navigation fix(tailwind.config): add custom gray shades for enhanced design flexibility
…ve styling - Removed unused `Success` type from APIClient.ts. - Cleaned up whitespace in ChatInput.svelte. - Added MessageAvatar component to ChatMessage.svelte for better avatar handling. - Updated styles in ChatWindow.svelte for improved dark mode support. - Introduced MessageAvatar component with animation in MessageAvatar.svelte. - Enhanced OpenReasoningResults.svelte with better dark mode styling. - Removed unused ImageProcessor and DocumentProcessor type aliases in document.ts. - Eliminated CommonEndpoint interface and unused EndpointGenerator type in endpoints.ts. - Removed duplicate SortKey enum from Assistant.ts and deleted SortKey.ts. - Added custom scrollbar styles in main.css for better UI experience. - Updated huggingchat icon and logo SVGs for improved visuals.
Adjusted spacing and border color classes for buttons in the model settings page for improved visual consistency in dark mode. Reduced the modal height in the settings layout for better fit on large screens.
- Added cerebras.svg for Cerebras provider. - Added cohere.svg for Cohere provider. - Added featherless-ai.svg for Featherless AI provider. - Added fireworks-ai.svg for Fireworks AI provider. - Added groq.svg for Groq provider. - Added hf-inference.svg for Hugging Face Inference provider. - Added hyperbolic.svg for Hyperbolic provider. - Added nebius.svg for Nebius provider. - Added novita.svg for Novita provider. - Added nscale.svg for Nscale provider. - Added sambanova.svg for SambaNova provider. - Added together.svg for Together provider.
…tency; remove unused thumbnail images
Added classNames prop to Alternatives for flexible styling and adjusted layout logic in ChatMessage to improve alignment and visibility of alternatives and edit controls. Commented out unused child message and edit button sections for clarity.
Added focus outline removal to chat message textarea for better UX. Changed image container class in UploadedFile from 'size-48' to 'h-48' to ensure correct height styling.
Improves the send button styling in ChatWindow.svelte for better dark mode support and dynamic coloring. Updates IconDazzled.svelte to use a consistent gradient id. Adds gray-600 to the Tailwind config for expanded color options.
…types, and type guards); rewire ChatMessage to render tool updates
Implements support for streaming tool call arguments and tool result chunks in the OpenAI-compatible chat endpoint and text generation pipeline. Updates the message update types and server logic to track tool anchors for inline placement. Refactors the ChatMessage UI to render tool blocks inline with message content based on anchor positions, enabling more accurate and interactive tool output display.
ChatMessage.svelte now strips <think> tags from message text before rendering. ToolUpdate.svelte deduplicates parameters, aggregates result outputs, and displays only the latest error, improving clarity and reducing redundancy in the tool update UI.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.