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
@@ -33,7 +33,7 @@ describe("InputController thinking visibility", () => {
expect(ctx.hideThinkingBlock).toBe(true);
expect(set).toHaveBeenCalledWith("hideThinkingBlock", true);
expect(ctx.session.agent.hideThinkingSummary).toBe(true);
expect(ctx.session.agent.hideThinkingSummary).toBe(false);
expect(chatContainer.children).toEqual([pendingUserMessage, assistant, loadingIndicator]);
expect(clear).not.toHaveBeenCalled();
expect(addChild).not.toHaveBeenCalled();