Skip to content

Commit

Permalink
Merge pull request #455 from miurla/fix/delete-next-public
Browse files Browse the repository at this point in the history
chore: remove unnecessary check
  • Loading branch information
miurla authored Feb 24, 2025
2 parents e88fef0 + 043203b commit 8ee4854
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/utils/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ export function isProviderEnabled(providerId: string): boolean {
case 'openai-compatible':
return (
!!process.env.OPENAI_COMPATIBLE_API_KEY &&
!!process.env.OPENAI_COMPATIBLE_API_BASE_URL &&
!!process.env.NEXT_PUBLIC_OPENAI_COMPATIBLE_MODEL
!!process.env.OPENAI_COMPATIBLE_API_BASE_URL
)
default:
return false
Expand Down

0 comments on commit 8ee4854

Please sign in to comment.