fix(ai-public): hide public pool endpoint from users
This commit is contained in:
@@ -450,12 +450,6 @@ export function SettingsPage({ session }: SettingsPageProps) {
|
||||
{bindingsResponse?.publicPool?.model || "未设置"}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
接口地址:
|
||||
<span className="ml-2 break-all text-foreground">
|
||||
{bindingsResponse?.publicPool?.endpoint || "未设置"}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -32,7 +32,6 @@ export type WebAiBindingsResponse = {
|
||||
enabled: boolean;
|
||||
providerName: string | null;
|
||||
model: string | null;
|
||||
endpoint: string | null;
|
||||
hasApiKey: boolean;
|
||||
} | null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user