Skip to content

Commit

Permalink
fix: type tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongpinWang committed Feb 24, 2025
1 parent eafd388 commit c79fff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/type-tests/test/orchestration.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ expectType<LlamaGuard38BFilterConfig>(
buildLlamaGuardFilter('code_interpreter_abuse', 'defamation')
);

expectError<LlamaGuard38BFilterConfig>(buildAzureContentSafetyFilter());
expectError<LlamaGuard38BFilterConfig>(buildLlamaGuardFilter());

expectError<LlamaGuard38BFilterConfig>(
buildAzureContentSafetyFilter('unknown-string')
buildLlamaGuardFilter('unknown-string')
);

/**
Expand Down

0 comments on commit c79fff6

Please sign in to comment.