Skip to content

Commit 2e0da40

Browse files
committed
Fix test description
1 parent e320b59 commit 2e0da40

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/ai/src/models/generative-model.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ describe('GenerativeModel dispatch logic', () => {
958958
});
959959

960960
describe('validateGenerationConfig', () => {
961-
it('does not allow setting both thinkingBudget and thinkingConfig', () => {
961+
it('does not allow setting both thinkingBudget and thinkingLevel', () => {
962962
expect(() => {
963963
validateGenerationConfig({
964964
thinkingConfig: {
@@ -1004,8 +1004,8 @@ describe('validateGenerationConfig', () => {
10041004
}).to.throw();
10051005
});
10061006
it(
1007-
'does not allow setting responseSchema or responseJsonSchema' +
1008-
' without a responseMimeType',
1007+
'throws if responseSchema or responseJsonSchema are set' +
1008+
' and responseMimeType is not "application/json"',
10091009
() => {
10101010
expect(() => {
10111011
validateGenerationConfig({

0 commit comments

Comments
 (0)