Skip to content

Commit

Permalink
fix: review commits
Browse files Browse the repository at this point in the history
  • Loading branch information
b4s36t4 committed Dec 17, 2024
1 parent 3881aaa commit 8a1e01d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/mistral/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const mistralGuardrailHandler: PluginHandler = async (
parameters: PluginParameters,
eventType: HookEventType,
_options,
fn: string
fn?: string
) => {
let error = null;
let verdict = true;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion plugins/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export type PluginHandler = (
env: Record<string, any>;
},
// Handler function, useful in cases for a provider with multiple guardrails ex: mistral
fn: string
fn?: string
) => Promise<PluginHandlerResponse>;

0 comments on commit 8a1e01d

Please sign in to comment.