mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-07 19:53:40 +00:00
Extract a _get_nested_int helper that unifies dict-key and attribute access, then express the 3-tier provider fallback as a simple loop over path tuples instead of duplicated if/else chains.