Janis Horsts
Janis Horsts
@go101, I noticed the missed BCE in a much more complex switch statement - I provided minimal code to demonstrate it. In the end, I got rid of the switch...
Indeed. `go tool compile -S x.go` reveals no bound check. It slipped my mind to check the compiled output. ```asm .Found STEXT size=48 args=0x18 locals=0x0 funcid=0x0 align=0x0 leaf 0x0000 00000...
When rendering a prompt, the Dotprompt instance from the Genkit registry is passed through. https://github.com/firebase/genkit/blob/b4e1c7f8fa25c4677fc7252ef958e10614ecc496/go/ai/prompt.go#L279-L291 `DotPrompt.Compile() -> DotPrompt.RegisterPartials() -> DefinePartial()` checks if partials are known, and they are. PS. Also,...
> When rendering a prompt, the Dotprompt instance from the Genkit registry is passed through. > > [genkit/go/ai/prompt.go](https://github.com/firebase/genkit/blob/b4e1c7f8fa25c4677fc7252ef958e10614ecc496/go/ai/prompt.go#L279-L291) > > Lines 279 to 291 in [b4e1c7f](/firebase/genkit/commit/b4e1c7f8fa25c4677fc7252ef958e10614ecc496) > > messages :=...
Same experience here. Unfortunately, I have a sad experience with GenKit (Golang). The structured output (very simple) is unreliable, mainly with gemini-2.5-flash and gemini-2.5-pro models. While debugging the Genkit, I...
Earthly is an elegant and simple-to-use solution - it revolutionised how we automate things. ❤️ It is in many ways better than @dagger etc. I used many automation tools over...
Thanks, @vladaionescu ! I'm meeting people from Accenture, Grafana and others tonight. I'll be actively advocating for Earthly. PS. I am interested in supporting and maintaining Earthly, my fingers are...
The implementation fails when a partial containing a dotprompt role is used in a dotprompt. Otherwise, without partials, it works. For example, this fails ❌ ```handlebars {{>pirate}} Say hello ```...