You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(chat): Prune history if it's too large, ignore log window as active file (aws#6989)
## Problem
```
An error occurred while processing your request.This error is reported to the team automatically. We will attempt to fix it as soon as possible.Details: Input is too long.
```
- A bug where status code is not being populated in error message
- A bug where output log window can be considered as active file which
can cause waste of tokens
- A bug where toolUse JSON.parse is not being handled correctly
## Solution
- Prune history if it's too large
- Fix status code bug in error message
- Fix active file bug
- Fix JSON.parse handling
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
// Need separate id for read tool and safe bash command execution as 'run-shell-command' id is required to state in cwChatConnector.ts which will impact generic tool execution.
0 commit comments