chore(nextjs): adds disclaimer on custom model select about supported models

This commit is contained in:
sauravniraula 2025-07-08 16:39:35 +05:45
parent 2daea347aa
commit 0c0f980678
No known key found for this signature in database
GPG key ID: 60FCC1B5A5E83326
2 changed files with 10 additions and 0 deletions

View file

@ -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>

View file

@ -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>