Skip to content

Commit 6ea5bf4

Browse files
petetronicseeM
andauthored
Filter out messages with empty body text (#7341)
Addresses #7271 Anthropic claude models seem to have trouble with messags with empty body text, this change filters them out before sending a batch of messages. ### Release Notes #### New Features - N/A #### Bug Fixes - N/A ### QA Notes --------- Signed-off-by: Pete <1178561+petetronic@users.noreply.github.com> Co-authored-by: Wasim Lorgat <mwlorgat@gmail.com>
1 parent 1f99527 commit 6ea5bf4

File tree

7 files changed

+1004
-4
lines changed

7 files changed

+1004
-4
lines changed

.vscode-test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ const extensions = [
6363
mocha: { timeout: 60_000 }
6464
},
6565
// --- Start Positron ---
66+
{
67+
label: 'positron-assistant',
68+
workspaceFolder: path.join(os.tmpdir(), `positron-assistant-${Math.floor(Math.random() * 100000)}`),
69+
mocha: { timeout: 60_000 }
70+
},
6671
{
6772
label: 'positron-code-cells',
6873
workspaceFolder: path.join(os.tmpdir(), `positron-code-cells-${Math.floor(Math.random() * 100000)}`),

0 commit comments

Comments
 (0)