Skip to content

Genkit JS 1.24.0

Choose a tag to compare

@pavelgj pavelgj released this 18 Nov 17:36
· 19 commits to main since this release

What's Changed

  • feat(js/plugins/google-genai): Support for gemini 3.0 thinkingLevel. by @ifielker in #3814
import { googleAI } from '@genkit-ai/google-genai';

const ai = genkit({ plugins: [googleAI()] });

const { text } = await ai.generate({
  model: googleAI.model('gemini-3-pro-preview'),
  prompt: 'What is heavier: one kilo of steel or one kilo of feathers?',
  config: {
    thinkingConfig: {
      thinkingLevel: 'HIGH',
    },
  },
});

Full Changelog: https://github.com/firebase/genkit/compare/[email protected]@1.24.0