mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
Don't hide model selector behind conditional
This commit is contained in:
1 parent
170e310f6e
commit
1739921a40
1 file changed
+11
-13
+11
-13
@@ -152,7 +152,7 @@ export default function Index() {
|
||||
<div className="relative rounded-2xl border border-input bg-background shadow-sm focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 transition-all">
|
||||
<Textarea
|
||||
placeholder={
|
||||
isAIConfigured && !providerModel.trim()
|
||||
!providerModel.trim()
|
||||
? "Please select a model below, then describe what you'd like to build..."
|
||||
: "e.g., Create a farming equipment marketplace for local farmers to buy and sell tractors, tools, and supplies..."
|
||||
}
|
||||
@@ -175,18 +175,16 @@ export default function Index() {
|
||||
|
||||
{/* Bottom Controls Row */}
|
||||
<div className="absolute bottom-3 left-3 right-3 flex items-center justify-end gap-2">
|
||||
{/* Model Selector - only show if AI is configured */}
|
||||
{isAIConfigured && (
|
||||
<div className="w-64">
|
||||
<ModelSelector
|
||||
value={providerModel}
|
||||
onChange={setProviderModel}
|
||||
className="w-full"
|
||||
disabled={isCreating || isGeneratingId}
|
||||
placeholder="Choose a model..."
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
{/* Model Selector - always show to allow configuration */}
|
||||
<div className="w-64">
|
||||
<ModelSelector
|
||||
value={providerModel}
|
||||
onChange={setProviderModel}
|
||||
className="w-full"
|
||||
disabled={isCreating || isGeneratingId}
|
||||
placeholder="Choose a model..."
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Create Project Button */}
|
||||
<Button
|
||||
|
||||
Reference in new issue
Block a user