Skip to content

Commit c7d68f7

Browse files
fix: set default model value to gpt-4o in PromptForm
1 parent cd9d66d commit c7d68f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/PromptForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function PromptForm({ onDirtyChange }: PromptFormProps) {
1717
const { prompts, addOptimistic, refresh } = usePrompts();
1818
const [title, setTitle] = useState("");
1919
const [content, setContent] = useState("");
20-
const [model, setModel] = useState<PromptModel>("");
20+
const [model, setModel] = useState<PromptModel>("gpt-4o");
2121
const [collection, setCollection] = useState("");
2222
const [tags, setTags] = useState<string[]>([]);
2323
const [tagInput, setTagInput] = useState("");

0 commit comments

Comments
 (0)