Skip to content

Commit 17f24be

Browse files
authored
Merge branch 'feature/agentic-chat' into revert-reading
2 parents 9253158 + 63a28b8 commit 17f24be

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

packages/core/resources/css/amazonq-webview.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,3 @@ body .mynah-card-body h4 {
128128
div.mynah-card.padding-large {
129129
padding: var(--mynah-sizing-4) var(--mynah-sizing-3);
130130
}
131-
132-
div.mynah-chat-items-container .mynah-chat-item-card.no-padding > .mynah-card {
133-
padding: 0;
134-
}

packages/core/src/codewhispererChat/tools/toolShared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import path from 'path'
77
import fs from '../../shared/fs/fs'
88

9-
export const maxToolResponseSize = 800_000
9+
export const maxToolResponseSize = 200_000
1010

1111
export enum OutputKind {
1212
Text = 'text',

packages/core/src/codewhispererChat/tools/tool_index.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
"inputSchema": {
2727
"type": "object",
2828
"properties": {
29+
"explanation": {
30+
"description": "One sentence explanation as to why this tool is being used, and how it contributes to the goal.",
31+
"type": "string"
32+
},
2933
"command": {
3034
"type": "string",
3135
"enum": ["create", "strReplace", "insert", "append"],

packages/core/src/test/codewhispererChat/tools/toolShared.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ describe('ToolUtils', function () {
162162
const output: InvokeOutput = {
163163
output: {
164164
kind: OutputKind.Text,
165-
content: 'a'.repeat(700_000),
165+
content: 'a'.repeat(150_000),
166166
},
167167
}
168168
assert.doesNotThrow(() => ToolUtils.validateOutput(output))
@@ -171,12 +171,12 @@ describe('ToolUtils', function () {
171171
const output: InvokeOutput = {
172172
output: {
173173
kind: OutputKind.Text,
174-
content: 'a'.repeat(900_000), // 900,000 characters
174+
content: 'a'.repeat(200_001), // 200,001 characters
175175
},
176176
}
177177
assert.throws(() => ToolUtils.validateOutput(output), {
178178
name: 'Error',
179-
message: 'Tool output exceeds maximum character limit of 800000',
179+
message: 'Tool output exceeds maximum character limit of 200000',
180180
})
181181
})
182182
})

0 commit comments

Comments
 (0)