Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 1 addition & 23 deletions components/empty-screen.tsx
Original file line number Diff line number Diff line change
@@ -1,28 +1,6 @@
import { Button } from '@/components/ui/button';
import { Globe, Thermometer, Laptop, HelpCircle } from 'lucide-react';

const exampleMessages = [
{
heading: 'What is a planet computer?',
message: 'What is a planet computer?',
icon: Globe
},
{
heading: 'How does climate change affect our experience?',
message: 'How does climate change affect our experience?',
icon: Thermometer
},
{
heading: 'What is QCX-Terra?',
message: 'What is QCX-Terra?',
icon: Laptop,
},
{
heading: 'How do I use the computer?',
message: 'How do I use the computer?',
icon: HelpCircle,
},
];
const exampleMessages: { heading: string; message: string; icon: any }[] = [];

export function EmptyScreen({
submitMessage,
Expand Down
2 changes: 1 addition & 1 deletion components/settings/components/model-selection-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function ModelSelectionForm({ form }: ModelSelectionFormProps) {
</RadioGroup>
</FormControl>
<FormDescription>
Select the AI model that will power your planetary copilot.
Select the AI model that will power your planet computer.
Different models have different capabilities and performance
characteristics.
</FormDescription>
Expand Down
6 changes: 3 additions & 3 deletions components/settings/components/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export type SettingsFormValues = z.infer<typeof settingsFormSchema>
// Default values
const defaultValues: Partial<SettingsFormValues> = {
systemPrompt:
"You are a planetary copilot, an AI assistant designed to help users with information about planets, space exploration, and astronomy. Provide accurate, educational, and engaging responses about our solar system and beyond.",
"You are a planet computer, an AI assistant designed to help users with information about planets, space exploration, and astronomy. Provide accurate, educational, and engaging responses about our solar system and beyond.",
selectedModel: "Gemini 3.1 Pro",
users: [],
}
Expand Down Expand Up @@ -180,7 +180,7 @@ export function Settings({ initialTab = "system-prompt" }: SettingsProps) {
<Card>
<CardHeader>
<CardTitle>System Prompt</CardTitle>
<CardDescription>Customize the behavior and persona of your planetary copilot</CardDescription>
<CardDescription>Customize the behavior and persona of your planet computer</CardDescription>
</CardHeader>
<CardContent>
<SystemPromptForm form={form} />
Expand All @@ -192,7 +192,7 @@ export function Settings({ initialTab = "system-prompt" }: SettingsProps) {
<Card>
<CardHeader>
<CardTitle>Model Selection</CardTitle>
<CardDescription>Choose the AI model that powers your planetary copilot</CardDescription>
<CardDescription>Choose the AI model that powers your planet computer</CardDescription>
</CardHeader>
<CardContent>
<ModelSelectionForm form={form} />
Expand Down
4 changes: 2 additions & 2 deletions components/settings/components/system-prompt-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ export function SystemPromptForm({ form }: SystemPromptFormProps) {
<FormLabel>System Prompt</FormLabel>
<FormControl>
<Textarea
placeholder="Enter the system prompt for your planetary copilot..."
placeholder="Enter the system prompt for your planet computer..."
className="min-h-[200px] resize-y"
{...field}
/>
</FormControl>
<FormDescription className="flex justify-between">
<span>Define how your copilot should behave and respond to user queries.</span>
<span>Define how your planet computer should behave and respond to user queries.</span>
<span className={characterCount > 1800 ? "text-amber-500" : ""}>{characterCount}/2000</span>
</FormDescription>
<FormMessage />
Expand Down
2 changes: 1 addition & 1 deletion components/settings/settings-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function SettingsView() {
<div className="flex justify-between items-center mb-8">
<div>
<h1 className="text-3xl font-bold tracking-tight">Settings</h1>
<p className="text-muted-foreground">Manage your planetary copilot preferences and user access</p>
<p className="text-muted-foreground">Manage your planet computer preferences and user access</p>
</div>
<Button variant="ghost" size="icon" onClick={handleClose}>
<Minus className="h-6 w-6" />
Expand Down