From 1490bd88f4b8bbb593c7979e39c51bba3f36903c Mon Sep 17 00:00:00 2001
From: ngoiyaeric <115367894+ngoiyaeric@users.noreply.github.com>
Date: Thu, 4 Jun 2026 13:38:06 +0000
Subject: [PATCH 1/5] Rename "planetary copilot" to "planet computer" and clear
example prompts
- Replaced "planetary copilot" with "planet computer" in all settings views and forms.
- Updated system prompt placeholder to "Enter your planet computer system prompt".
- Set default system prompt to an empty string.
- Adjusted Zod validation for system prompt to allow empty strings.
- Emptied the `exampleMessages` array in `EmptyScreen`.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
---
components/empty-screen.tsx | 23 +------------------
.../components/model-selection-form.tsx | 2 +-
components/settings/components/settings.tsx | 11 ++++-----
.../components/system-prompt-form.tsx | 4 ++--
components/settings/settings-view.tsx | 2 +-
5 files changed, 9 insertions(+), 33 deletions(-)
diff --git a/components/empty-screen.tsx b/components/empty-screen.tsx
index 2c0f63e4..a8021d55 100644
--- a/components/empty-screen.tsx
+++ b/components/empty-screen.tsx
@@ -1,28 +1,7 @@
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 = [];
export function EmptyScreen({
submitMessage,
diff --git a/components/settings/components/model-selection-form.tsx b/components/settings/components/model-selection-form.tsx
index bc6164ba..56b5056a 100644
--- a/components/settings/components/model-selection-form.tsx
+++ b/components/settings/components/model-selection-form.tsx
@@ -134,7 +134,7 @@ export function ModelSelectionForm({ form }: ModelSelectionFormProps) {
- 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.
diff --git a/components/settings/components/settings.tsx b/components/settings/components/settings.tsx
index 8806664d..63471e8f 100644
--- a/components/settings/components/settings.tsx
+++ b/components/settings/components/settings.tsx
@@ -28,9 +28,7 @@ import { SettingsSkeleton } from './settings-skeleton'
const settingsFormSchema = z.object({
systemPrompt: z
.string()
- .min(10, {
- message: "System prompt must be at least 10 characters.",
- })
+ .min(0)
.max(2000, {
message: "System prompt cannot exceed 2000 characters.",
}),
@@ -52,8 +50,7 @@ export type SettingsFormValues = z.infer
// Default values
const defaultValues: Partial = {
- 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.",
+ systemPrompt: "",
selectedModel: "Gemini 3.1 Pro",
users: [],
}
@@ -180,7 +177,7 @@ export function Settings({ initialTab = "system-prompt" }: SettingsProps) {
System Prompt
- Customize the behavior and persona of your planetary copilot
+ Customize the behavior and persona of your planet computer
@@ -192,7 +189,7 @@ export function Settings({ initialTab = "system-prompt" }: SettingsProps) {
Model Selection
- Choose the AI model that powers your planetary copilot
+ Choose the AI model that powers your planet computer
diff --git a/components/settings/components/system-prompt-form.tsx b/components/settings/components/system-prompt-form.tsx
index 2d8dc110..83740981 100644
--- a/components/settings/components/system-prompt-form.tsx
+++ b/components/settings/components/system-prompt-form.tsx
@@ -19,13 +19,13 @@ export function SystemPromptForm({ form }: SystemPromptFormProps) {
System Prompt
- Define how your copilot should behave and respond to user queries.
+ Define how your planet computer should behave and respond to user queries. 1800 ? "text-amber-500" : ""}>{characterCount}/2000
diff --git a/components/settings/settings-view.tsx b/components/settings/settings-view.tsx
index 5f9e16ff..0fc5009a 100644
--- a/components/settings/settings-view.tsx
+++ b/components/settings/settings-view.tsx
@@ -20,7 +20,7 @@ export default function SettingsView() {
Settings
-
Manage your planetary copilot preferences and user access
+
Manage your planet computer preferences and user access