feat(coding-agent): supported omitting thinking summaries

- Added `omitThinking` setting to allow instruction of upstream providers to omit thinking summaries.
- Decoupled UI-level thinking block visibility from backend data retrieval.
- Updated session creation to use `omitThinking` for configuring provider-side summaries.
This commit is contained in:
can1357
2026-06-20 08:14:54 +02:00
parent 571eb5c4db
commit 282963ee2f
6 changed files with 21 additions and 8 deletions
@@ -1524,7 +1524,6 @@ export class InputController {
toggleThinkingBlockVisibility(): void {
this.ctx.hideThinkingBlock = !this.ctx.hideThinkingBlock;
this.ctx.settings.set("hideThinkingBlock", this.ctx.hideThinkingBlock);
this.ctx.session.agent.hideThinkingSummary = this.ctx.hideThinkingBlock;
for (const child of this.ctx.chatContainer.children) {
if (child instanceof AssistantMessageComponent) {