genkit icon indicating copy to clipboard operation
genkit copied to clipboard

[JS] [Go] Add simulated tool support middleware

Open apascal07 opened this issue 8 months ago • 0 comments

Describe the bug Some models don't support native tool calling support (e.g. Gemma 3) but it could be implemented via a middleware that modifies the request with injected tool definition instructions and parses the response into simulated tool responses.

apascal07 avatar Apr 06 '25 16:04 apascal07