Files
ProxyPilot/internal
RCD 7fc975198d fix(translator): preserve multiple system prompts in Gemini requests
Cherry-pick from CLIProxyAPI v6.7.7 (f8f3ad8).

Fixes issue where only the last system/developer message was preserved
when multiple were provided. Added systemPartIndex counter to accumulate
parts across all system messages instead of overwriting at index 0.

Also fixed path inconsistency in gemini_openai_request.go where the
array branch incorrectly used request.systemInstruction instead of
system_instruction.

Fixes: router-for-me/CLIProxyAPI#1064
2026-01-17 08:10:59 +07:00
..
2025-10-15 11:47:35 +08:00