Skip to content

Commit 8e1a616

Browse files
committed
feat: add configurable custom provider name for OpenAI-compatible models
1 parent 90b5213 commit 8e1a616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/types/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const models: Model[] = [
9595
...openaiCompatibleModels.map((model) => ({
9696
id: model,
9797
name: model,
98-
provider: 'Custom',
98+
provider: process.env.NEXT_PUBLIC_CUSTOM_PROVIDER_NAME || 'Custom',
9999
providerId: 'openai-compatible'
100100
}))
101101
]

0 commit comments

Comments
 (0)