Skip to content

Commit 2561f5c

Browse files
author
camel-docs-bot
committed
Auto-update documentation after merge [skip ci]
1 parent 8fa61f9 commit 2561f5c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/mintlify/reference/camel.models.gemini_model.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,12 @@ def _process_messages(self, messages):
4848

4949
Process the messages for Gemini API to ensure no empty content,
5050
which is not accepted by Gemini. Also preserves thought signatures
51-
required for Gemini 3 Pro function calling and adds fallback signatures
52-
when they are missing.
51+
required for Gemini 3 Pro function calling.
52+
53+
This method also merges consecutive assistant messages with single
54+
tool calls into a single assistant message with multiple tool calls,
55+
as required by Gemini's OpenAI-compatible API for parallel function
56+
calling.
5357

5458
<a id="camel.models.gemini_model.GeminiModel._preserve_thought_signatures"></a>
5559

0 commit comments

Comments
 (0)