Add gemini_api_chat flavor, parts passthrough, and tests - #12
Conversation
Add
|
- test_prompt_format__history_gemini: full bind→format flow with Gemini-format history containing function call/response cycle - test_prompt_format__history_gemini_with_media: full bind→format flow with history containing inlineData parts - test_gemini_media_in_history_parts: adapter-level test for inlineData parts passthrough mixed with standard content messages
- test_prompt_format__history_gemini: full bind→format flow with Gemini-format history containing function call/response cycle - test_prompt_format__history_gemini_with_media: full bind→format flow with history containing inlineData parts - test_gemini_media_in_history_parts: adapter-level test for inlineData parts passthrough mixed with standard content messages - Include type annotation fix for GeminiAdapter.gemini_messages
Add
|
📝 WalkthroughWalkthroughThis PR adds a new Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
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 |
- Type-annotate msg_copy from copy.deepcopy() in GeminiAdapter - Remove unnecessary isinstance check in __map_content - Regenerate baseline (49 → 44 errors)
Main PR: https://github.com/freeplayai/freeplay-app/pull/1434
Summary by CodeRabbit
Release Notes
New Features
gemini_api_chat) returning plain-dict tool schemas compatible with google.generativeai library.Chores