Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DefaultRetryConfig = RetryConfig{ MaxAttempts: 3, BaseDelay: 2 * time.Second, MaxDelay: 30 * time.Second, }
DefaultRetryConfig is used for all AI provider calls.
Functions ¶
func GenerateSlides ¶
GenerateSlides routes the slide generation request to the appropriate LLM provider based on the model name in the config. Accepts either *crawler.CollectedContent (structured) or a flat code string.
func IsLocalModel ¶ added in v0.9.1
IsLocalModel is the exported version of isLocalModel for use by cmd/.
func RequiresAPIKey ¶
RequiresAPIKey returns true if the model needs a remote API key.
Types ¶
type DocOutline ¶ added in v0.9.1
type DocOutline struct {
ProjectName string
Description string
Sections []OutlineSection
KeyStats []string
}
DocOutline holds the structural information extracted from project docs. It drives the dynamic slide plan so presentations use project-specific topics instead of generic placeholders like "Key Feature 1".
type HTTPError ¶
HTTPError wraps a non-2xx HTTP response so the retry logic can inspect the status code without string parsing.
type OutlineSection ¶ added in v0.9.1
type OutlineSection struct {
Title string
Bullets []string
Source string // which doc file this came from
}
OutlineSection represents a topic heading extracted from documentation.