Skip to main content

Module llm

Module llm 

Source

Structs§

ChatMessage
A chat message for the OpenAI-compatible API
LlmClient
OpenAI-compatible LLM client
LlmConfig
LLM configuration resolved from env vars and workspace_state

Functions§

analyze_task_structure_background
Analyze task structure in background and store suggestions
clear_dismissed_suggestions
Clear all dismissed suggestions from database
dismiss_all_suggestions
Dismiss all active suggestions
dismiss_suggestion
Dismiss a suggestion (mark as read/acted upon)
display_suggestions
Display suggestions to the user (called from CLI commands)
get_active_suggestions
Retrieve active (non-dismissed) suggestions from database
synthesize_task_description
Synthesize task description using LLM (convenience function)