Skip to content

Commit

Permalink
fix o11y tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Sep 29, 2023
1 parent 2dd82b2 commit fb95bf2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ export default function ApiTest({ getService }: FtrProviderContext) {
connectorId,
functions: [],
});

console.log('ERRRR', response.body.message);
expect(response.body.message).to.contain(
`400 - Bad Request - This model's maximum context length is 8192 tokens. However, your messages resulted in 11036 tokens. Please reduce the length of the messages.`
`an error occurred while running the action - Status code: 400. Message: API Error: Bad Request - This model's maximum context length is 8192 tokens. However, your messages resulted in 11036 tokens. Please reduce the length of the messages.`
);
});

Expand Down

0 comments on commit fb95bf2

Please sign in to comment.