Max chat turns settings (default to 5) (#152)

This commit is contained in:
Will Chen
2025-05-13 11:51:44 -07:00
committed by GitHub
parent d1a6b06fd5
commit 14d9a12464
6 changed files with 142 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ import { IpcClient } from "@/ipc/ipc_client";
import { showSuccess, showError } from "@/lib/toast";
import { AutoApproveSwitch } from "@/components/AutoApproveSwitch";
import { TelemetrySwitch } from "@/components/TelemetrySwitch";
import { MaxChatTurnsSelector } from "@/components/MaxChatTurnsSelector";
import { useSettings } from "@/hooks/useSettings";
import { useAppVersion } from "@/hooks/useAppVersion";
import { Button } from "@/components/ui/button";
@@ -106,6 +107,10 @@ export default function SettingsPage() {
This will automatically approve code changes and run them.
</div>
</div>
<div className="mt-4">
<MaxChatTurnsSelector />
</div>
</div>
<div className="bg-white dark:bg-gray-800 rounded-xl shadow-sm">