Conversation
…ink node management
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
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.
This pull request introduces multimodal support for the LLM chat command, adds an image generation command for bot owners, and improves the Discord UI for both chat and image generation. It also adds a new command to reload music nodes and updates configuration to support separate image API credentials. The most important changes are grouped below.
Multimodal LLM chat and UI improvements:
chatcommand, allowing users to provide an image alongside a text prompt for vision-capable models. Only bot owners can select models; others are restricted to the default model. [1] [2]LLMViewUI to display attached images, show truncated prompts, and provide a "Cancel" button during streaming. Added blockquote formatting for "thinking" content and improved streaming chunk handling to display reasoning and allow cancellation. [1] [2] [3] [4] [5]Image generation command and UI:
/imagecommand for bot owners to generate images from prompts, with options for size, inference steps, CFG scale, and seed. The command uses a separate OpenAI client and displays results using the newImageViewUI. [1] [2] [3]ImageViewclass to provide a rich Discord UI for image generation, including loading, result, error states, and timing information.Configuration updates:
LLMConfigto support separate API keys and model names for image generation, enabling secure and flexible multimodal support.Music bot improvements:
reload_nodescommand to reload Lavalink nodes, improving music bot reliability and maintainability.References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]