mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 00:50:36 +08:00
Addresses Air R1/R2 review blockers on top of the opened PR head: Settings GET/PUT /api/settings/web-fetch with UI control; DeepSeek fetch uses identity encoding, raw bytes, and capacity checks before buffer extend; provider-branding treats `local` as generic. Air Codex R3 on MacBook Air: READY.
21 lines
641 B
TypeScript
21 lines
641 B
TypeScript
"use client";
|
|
import { useTranslation } from "react-i18next";
|
|
import { ModelsWorkspace } from "@/components/settings/ModelsWorkspace";
|
|
import { WebFetchBackendCard } from "@/components/settings/WebFetchBackendCard";
|
|
import { SettingsPageHeader } from "@/components/settings/shared";
|
|
export default function SearchSettingsPage() {
|
|
const { t } = useTranslation();
|
|
return (
|
|
<div>
|
|
<SettingsPageHeader
|
|
title={t("Search")}
|
|
description={t(
|
|
"Configure and test search engines using saved providers.",
|
|
)}
|
|
/>
|
|
<ModelsWorkspace page="search" />
|
|
<WebFetchBackendCard />
|
|
</div>
|
|
);
|
|
}
|