Repository navigation
fix: 支持传入system_instruction和systemInstruction两种风格系统提示词参数名 - #2450
Conversation
WalkthroughA new Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5–10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-08-08T17:12:43.157ZApplied to files:
🧬 Code graph analysis (1)dto/gemini.go (3)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…rompt fix: 支持传入system_instruction和systemInstruction两种风格系统提示词参数名
…rompt fix: 支持传入system_instruction和systemInstruction两种风格系统提示词参数名
…rompt fix: 支持传入system_instruction和systemInstruction两种风格系统提示词参数名
fix #2448
https://github.com/googleapis/go-genai/blob/a7c0ed8b1fcade06ffcc62a91344e36e56d17f37/types.go#L2075
Golang SDK支持传入systemInstruction,Python SDK支持传入system_instruction,兼容两种方式,最终以systemInstruction作为参数发送
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.