Skip to content

Commit 8ee4854

Browse files
authored
Merge pull request #455 from miurla/fix/delete-next-public
chore: remove unnecessary check
2 parents e88fef0 + 043203b commit 8ee4854

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/utils/registry.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ export function isProviderEnabled(providerId: string): boolean {
109109
case 'openai-compatible':
110110
return (
111111
!!process.env.OPENAI_COMPATIBLE_API_KEY &&
112-
!!process.env.OPENAI_COMPATIBLE_API_BASE_URL &&
113-
!!process.env.NEXT_PUBLIC_OPENAI_COMPATIBLE_MODEL
112+
!!process.env.OPENAI_COMPATIBLE_API_BASE_URL
114113
)
115114
default:
116115
return false

0 commit comments

Comments
 (0)