fix(api): trim PyTorch type map separators#5544
Conversation
Return PyTorch and PTExpt type maps with the same space-separated format as other backends, without a trailing separator or stale caller-provided content. Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
📝 WalkthroughWalkthroughFive Changesget_type_map trailing-space fix and test coverage
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
DeepPotPD appends characters into the caller-provided output string. Clear it first so repeated calls and non-empty output strings do not retain stale data. Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #5544 +/- ##
=======================================
Coverage 82.21% 82.22%
=======================================
Files 892 892
Lines 101531 101542 +11
Branches 4240 4245 +5
=======================================
+ Hits 83475 83490 +15
+ Misses 16753 16751 -2
+ Partials 1303 1301 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Problem
get_type_mapimplementations append a trailing space to the returned type-map string.Change
Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)