Genkit JS 1.24.0
·
19 commits
to main
since this release
What's Changed
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