Documentation
¶
Index ¶
Constants ¶
View Source
const MaxImageSizeBytes int64 = 100 * 1024 * 1024
MaxImageSizeBytes is the maximum allowed size for image files (100MB)
Variables ¶
This section is empty.
Functions ¶
func ExtractFileInclusions ¶ added in v0.1.46
For testing purposes - making the functions public so they can be tested
func ProcessFileInclusions ¶ added in v0.1.46
Types ¶
type CommandMetadata ¶
type CommandMetadata struct {
Parameters []ParameterMetadata `json:"parameters"`
}
type ParameterMetadata ¶
type ProviderMetadata ¶
type ProviderMetadata struct {
Description string `json:"description"`
Up CommandMetadata `json:"up"`
Down CommandMetadata `json:"down"`
}
type StreamingMarkdownBuffer ¶
type StreamingMarkdownBuffer struct {
// contains filtered or unexported fields
}
StreamingMarkdownBuffer handles partial content and renders complete markdown blocks
func NewStreamingMarkdownBuffer ¶
func NewStreamingMarkdownBuffer() *StreamingMarkdownBuffer
NewStreamingMarkdownBuffer creates a new streaming markdown buffer
func (*StreamingMarkdownBuffer) AddContent ¶
func (smb *StreamingMarkdownBuffer) AddContent(content string, shouldUseMarkdown bool) (string, error)
AddContent adds new content to the buffer and returns any content that should be displayed
Source Files
¶
Click to show internal directories.
Click to hide internal directories.