- 
                Notifications
    You must be signed in to change notification settings 
- Fork 771
#1300 | Add Qualifire integration #1311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1300 | Add Qualifire integration #1311
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comprehensive Qualifire integration with 15 guardrail handlers. Found critical bugs in error handling patterns and dead code issues.
Skipped files
- conf.json: Skipped file pattern
- plugins/qualifire/manifest.json: Skipped file pattern
- plugins/qualifire/qualifire.test.ts: File hunk diff too large
| Timeout increase from 10s to 60s for Qualifire API calls - reasonable change for external service reliability. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good refactoring to eliminate dead variables and improve error handling consistency across Qualifire plugins. One test timeout adjustment needs verification.
| Code quality is good overall with proper TypeScript patterns. Found one potential null reference bug in regex plugin and some architectural improvements needed. | 
| Code quality is good overall with proper error handling improvements and provider integration. Found one potential null reference bug in stream processing. | 
| import { handler as defaultalllowercase } from './default/alllowercase'; | ||
| import { handler as defaultendsWith } from './default/endsWith'; | ||
| import { handler as defaultmodelWhitelist } from './default/modelWhitelist'; | ||
| import { handler as qualifireDangerousContent } from './qualifire/dangerousContent'; | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[recommendation] would recommend creating an index file in you folder and exporting all of these imports from one single file for cleaner code
| Added Qualifire integration with new request type validation, image editing support, and provider enhancements. Critical security and performance improvements included. | 
| Added imageEdit support across providers and updated version. Minor type fix in requestBody.ts. | 
| Added Qualifier integration with Bedrock and Vertex AI enhancements | 
| ✅ Reviewed the changes: This PR introduces the Javelin Guardrails and CometAPI integrations, along with enhancements to existing providers and utilities. Key areas for review include the new plugin logic, external API interactions, and environment variable handling. | 
| ✅ Reviewed the changes: Minor improvements to error logging and hook ID generation. Added new configuration keys. | 
Description
Motivation
Type of Change
How Has This Been Tested?
Screenshots (if applicable)
Checklist
Related Issues