Repository navigation
fix(adaptor): fix reasoning suffix not processing in vertex adapter - #2388
Conversation
WalkthroughThis PR adds effort-based suffix stripping to the Vertex channel adapter's Gemini model name handling using Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Areas requiring attention:
Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 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 (4)📓 Common learnings📚 Learning: 2025-08-05T17:14:17.246ZApplied to files:
📚 Learning: 2025-06-21T03:37:41.726ZApplied to files:
📚 Learning: 2025-08-08T17:12:43.157ZApplied to files:
🧬 Code graph analysis (1)relay/channel/vertex/adaptor.go (1)
🔇 Additional comments (2)
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 |
|
时间受限 仅单元测试发现对有-thinking-关键词的模型可能会有错误截断问题 这个问题同样存在于 Gemini Adapter 考虑到与本PR无关 不再变动 |
fix(adaptor): fix reasoning suffix not processing in vertex adapter
fix(adaptor): fix reasoning suffix not processing in vertex adapter
fix(adaptor): fix reasoning suffix not processing in vertex adapter

暂时写了一个改动,应该是可以 Fixes #2386 暂未测试 测试完成后再跟进评论
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.