You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address CodeRabbit review on #818.
- Replace the stale "exact-match" wording on `AdaptiveConfig.response_cache`,
`ResponseCacheConfig`, `KeyOutcome::Key`, and the `response_cache` module
doc, and add a TOML `key_strategy = "logical"` example to the
`ResponseCacheConfig` doc comment.
- `ResponseCacheConfig.to_dict()` in Python no longer raises `AttributeError`
when `key_strategy` is a plain wire string. Enum members serialize through
`.value`; strings pass through unchanged so unsupported values reach native
validation with the `response_cache.unsupported_key_strategy` diagnostic,
matching the Go string alias and the Node.js runtime.
- Add Python regression coverage for the string and unsupported-string paths.
The user-facing docs under `docs/configure-plugins/adaptive/response-cache.mdx`
stay deferred to #819, which is open for exactly that.
Signed-off-by: Zhongxuan (Daniel) Wang <52872691+ZhongxuanWang@users.noreply.github.com>
0 commit comments