Skip to main content

Module chat

Module chat 

Source
Expand description

Chat use case: prepare a chat turn for execution.

Enums§

GoalCommand
Parsed result of a /goal command.

Functions§

clear_skill_runtime_state
Clear skill runtime state markers from session metadata.
parse_goal_command
Attempt to parse a /goal command from the raw user message. Returns None if the message is not a /goal command.
prepare_chat_turn
Prepare a chat turn: load/create session, resolve prompts, update metadata, append user message, persist.
resolve_base_prompt
resolve_copilot_conclusion_with_options_enhancement
resolve_enhance_prompt
resolve_selected_skill_ids
resolve_workspace_path