Files
herolib/lib/aiflows/calendar/triage.v
2025-11-25 06:13:56 +01:00

14 lines
384 B
V

module flow_calendar
import incubaid.herolib.hero.heromodels
import incubaid.herolib.core.flows
pub fn triage(mut s flows.Step) ! {
prompt := s.context['prompt'] or { panic("can't find prompt context in step:\n${s}") }
response := s.coordinator.ai.llms.llm_maverick.chat_completion(
message: prompt
temperature: 0.5
max_completion_tokens: 5000
)!
}