mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-19 21:54:17 -04:00
fc989b35d1
- Added support for recording and replaying multiple identical requests, allowing each to return different responses in a defined order. - Introduced `replayEntry` struct to manage response cycling for identical requests. - Updated documentation to reflect new circular buffer behavior and usage examples for cache testing scenarios. - Enhanced tests to validate the circular response behavior for both GET and POST requests. This change improves the testing capabilities for scenarios where identical requests yield varying responses, such as caching mechanisms.