chore(nextjs): adds disclaimer on custom model select about supported models
This commit is contained in:
parent
2daea347aa
commit
0c0f980678
2 changed files with 10 additions and 0 deletions
|
|
@ -554,6 +554,11 @@ const SettingsPage = () => {
|
|||
{/* Model selection dropdown - show if models are available or if there's a selected model */}
|
||||
{((customModelsChecked && customModels.length > 0) || llmConfig.CUSTOM_MODEL) && (
|
||||
<div>
|
||||
<div className="mb-3 p-3 bg-amber-50 border border-amber-200 rounded-lg">
|
||||
<p className="text-sm text-amber-800">
|
||||
<strong>Important:</strong> Only models with function calling capabilities (tool calls) or JSON schema support will work.
|
||||
</p>
|
||||
</div>
|
||||
<label className="block text-sm font-medium text-gray-700 mb-2">
|
||||
Select Model
|
||||
</label>
|
||||
|
|
|
|||
|
|
@ -639,6 +639,11 @@ export default function Home() {
|
|||
{/* Model selection dropdown - only show if models are available */}
|
||||
{customModelsChecked && customModels.length > 0 && (
|
||||
<div className="mb-4">
|
||||
<div className="mb-3 p-3 bg-amber-50 border border-amber-200 rounded-lg">
|
||||
<p className="text-sm text-amber-800">
|
||||
<strong>Important:</strong> Only models with function calling capabilities (tool calls) or JSON schema support will work.
|
||||
</p>
|
||||
</div>
|
||||
<label className="block text-sm font-medium text-gray-700 mb-2">
|
||||
Select Model
|
||||
</label>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue