Genkit Go v0.5.0
What's Changed
- feat(go): Added prompts as executable prompts by @apascal07 in #2535
- fix(go/genkit): use controlled flushing on JSON responses by @hugoaguirre in #2530
- feat(go): Call
DefineGenerateAction
inGenkit.Init
by @apascal07 in #2575 - refactor(go/plugins): keep gemini code in
googlegenai
by @hugoaguirre in #2576 - feat(go): Add customConfig field to ModelInfo by @huangjeff5 in #2537
- fix(go): remove legacy prompts from go by @ssbushi in #2598
- feat(go/ai): Use
dotprompt
package for rendering prompt templates by @rutujaD1999 in #2526 - chore(go): bump
go-genai
SDK to v0.7.0 by @hugoaguirre in #2620 - feat(go): Added
ModelArg
interface andModelRef
by @huangjeff5 in #2487 - fix(go): add tool to prompt metadata by @ssbushi in #2622
- feat(go/genkit): Added support for formatters and custom instructions by @dysrama in #2417
- feat(go/genkit): Exposed
DefineFormat
inGenkit
. by @apascal07 in #2647 - fix(go/plugins): Unpacked common fields in
GeminiConfig
and fixed output config by @apascal07 in #2649 - chore(go): expose model
gemini-2.5-pro-preview-03-25
by @hugoaguirre in #2651 - fix(go): minor bug fixes by @hugoaguirre in #2654
- fix(go): Fixed prompt fields not propagating to execute for loaded prompts. by @apascal07 in #2655
- fix(go): Fix Issues in using genkit with ollama plugin. by @suapapa in #2681
- feat(go/plugins/googlegenai): add constrained generation by @hugoaguirre in #2467
- fix(go): metadata and status enum fixes by @ssbushi in #2698
- fix(go): Fixed nil pointer in Google AI plugin. by @apascal07 in #2700
- fix(go/py/tooling): More small fixes related to evals by @ssbushi in #2703
- refactor(go)!: Updated all primitives to unified options. by @apascal07 in #2550
- bug(go)!: remove
local
provider from tools and prompts by @hugoaguirre in #2713 - fix(go): update samples to use
GeminiConfig
by @hugoaguirre in #2726 - fix(go): use
GeminiConfig
in cache live tests by @hugoaguirre in #2730
New Contributors
Full Changelog: go/v0.3.0...go/v0.5.0