mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-09 21:14:43 +00:00
971e03bdf2
It also corrects the syntax around tool support, which was wrong. Gemini doesn't want us to include messages about previous tool invocations, so I had to shuffle around some code to send the response it generated from those invocations instead. For this, I created the "multi_turn" context, which bundles all the context involved in the interaction.