Skip to content

fix(llm): restore LLM explanations in shared conversation engine - #245

Merged
ktjn merged 1 commit into
mainfrom
fix/llm-conversation-explain-synthesis
Jul 28, 2026
Merged

fix(llm): restore LLM explanations in shared conversation engine#245
ktjn merged 1 commit into
mainfrom
fix/llm-conversation-explain-synthesis

Conversation

@ktjn

@ktjn ktjn commented Jul 27, 2026

Copy link
Copy Markdown
Owner

PR #240 made queries deterministic, so free-form explain/question messages
stopped reaching the provider and instead dumped the raw workspace summary.

When completion is enabled and the resolved plan is a conversational QueryPlan,
execute the query for grounded facts, then ask the provider to phrase a prose
answer. /context and /describe remain deterministic; failure or empty responses
fall back to the raw facts.

  • Update the Python and web simulators to handle text synthesis requests.
  • Add engine tests for synthesis, fallback, and slash-command determinism.

PR #240 made queries deterministic, so free-form explain/question messages
stopped reaching the provider and instead dumped the raw workspace summary.

When completion is enabled and the resolved plan is a conversational QueryPlan,
execute the query for grounded facts, then ask the provider to phrase a prose
answer. /context and /describe remain deterministic; failure or empty responses
fall back to the raw facts.

- Update the Python and web simulators to handle text synthesis requests.
- Add engine tests for synthesis, fallback, and slash-command determinism.
@ktjn
ktjn merged commit ade0fc0 into main Jul 28, 2026
9 checks passed
@ktjn
ktjn deleted the fix/llm-conversation-explain-synthesis branch July 28, 2026 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant