@@ -188,9 +188,7 @@ func (g *geminiClient) send(ctx context.Context, messages []message.Message, too
188 Parts: []*genai.Part{{Text: g.providerOptions.systemMessage}},
188 Parts: []*genai.Part{{Text: g.providerOptions.systemMessage}},
192− config.Tools = g.convertTools(tools)
191+ config.Tools = g.convertTools(tools)
194 chat, _ := g.client.Chats.Create(ctx, model.ID, config, history)
192 chat, _ := g.client.Chats.Create(ctx, model.ID, config, history)
196 attempts := 0
194 attempts := 0
@@ -290,9 +288,7 @@ func (g *geminiClient) stream(ctx context.Context, messages []message.Message, t
290 Parts: []*genai.Part{{Text: g.providerOptions.systemMessage}},
288 Parts: []*genai.Part{{Text: g.providerOptions.systemMessage}},
294− config.Tools = g.convertTools(tools)
291+ config.Tools = g.convertTools(tools)
296 chat, _ := g.client.Chats.Create(ctx, model.ID, config, history)
292 chat, _ := g.client.Chats.Create(ctx, model.ID, config, history)
298 attempts := 0
294 attempts := 0