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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user