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
## Summary
This PR fixes two bugs: improves error logging for primary provider failures and adds support for embedding requests in the `GetExtraFields()` method of `BifrostResponse`. It also enhances the mocker plugin with responses request support and adds a context key to skip the mocker plugin per request.
## Changes
- Fixed error logging in `handleRequest` to properly display error messages from primary providers
- Added embedding request handling in `GetExtraFields()` method of `BifrostResponse`
- Enhanced mocker plugin with support for responses request type
- Added "skip-mocker" context key to bypass mocker plugin for specific requests
- Updated tests to use mocker plugin for semantic cache tests
- Bumped version numbers across core, framework, and plugins
## Type of change
- [x] Bug fix
- [x] Feature
- [ ] Refactor
- [ ] Documentation
- [x] Chore/CI
## Affected areas
- [x] Core (Go)
- [ ] Transports (HTTP)
- [ ] Providers/Integrations
- [x] Plugins
- [ ] UI (Next.js)
- [ ] Docs
## How to test
Test the improved error logging:
```sh
# Run core tests
go test ./core/...
# Test embedding request handling
go test ./core/schemas/...
# Test mocker plugin enhancements
go test ./plugins/mocker/...
# Test semantic cache with mocker
go test ./plugins/semanticcache/...
```
## Breaking changes
- [x] No
- [ ] Yes
## Related issues
Fixes embedding request handling in `GetExtraFields()` method
## Security considerations
No security implications.
## Checklist
- [x] I added/updated tests where appropriate
- [x] I verified builds succeed (Go and UI)
- [x] I verified the CI pipeline passes locally if applicable
0 commit comments